- //$this->person_id = $au ? (!empty($au->id) ? $au->id : $au->pid()) : -1;
-
- $this->who = $au->name;
-
- if($au->tableName() == "modx_users"){
- $e = PDO_DataObject::factory('ext_data');
- $e->setFrom(array(
- 'userdata_id' => $au->pid(),
- ));
-
-
- if($e->find(true)){
- print_r($e);
- exit;
- $this->who = $e->getUserName();
- }
- }