Changeset 15359
- Timestamp:
- 03/04/08 10:13:47 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.admin.user/handler/group/edit.php
r14773 r15359 97 97 $qb = midcom_db_member::new_query_builder(); 98 98 $qb->add_constraint('gid', '=', $this->_group->id); 99 if ($qb->count_unchecked() > $this->_config->get('list_users_max')) 99 if ( $qb->count_unchecked() > $this->_config->get('list_users_max') 100 && isset($this->_schemadb['default']->fields['persons'])) 100 101 { 101 102 unset($this->_schemadb['default']->fields['persons']); 102 } 103 $field_order_key = array_search('persons', $this->_schemadb['default']->field_order); 104 if ($field_order_key !== false) 105 { 106 unset($this->_schemadb['default']->field_order[$field_order_key]); 107 } 108 } 109 unset($qb); 103 110 104 111 $this->_controller =& midcom_helper_datamanager2_controller::create('simple'); trunk/midcom/midcom.helper.datamanager2/formmanager.php
r15357 r15359 227 227 if (!isset($this->_schema->fields[$name])) 228 228 { 229 debug_push_class(__CLASS__, __FUNCTION );229 debug_push_class(__CLASS__, __FUNCTION__); 230 230 debug_add("Field {$name} is not present in \$this->_schema->fields (read from \$this->_schema->field_order)", MIDCOM_LOG_ERROR); 231 231 debug_pop();
