projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9670637
)
DataObjects/Events.php
author
Chris
<chris@roojs.com>
Mon, 17 Dec 2012 09:47:56 +0000
(17:47 +0800)
committer
Chris
<chris@roojs.com>
Mon, 17 Dec 2012 09:47:56 +0000
(17:47 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
1bd4034
..
7ab9106
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-328,7
+328,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
// $au = DB_DataObject::Factory('Person'); // not always a person..
// $au->get($obj->person_id);
}
- print_r('ininin');exit;
+
$this->person_name = $au && !empty($au->name) ? $au->name : '';
$this->person_id = $au ? $au->id : -1;
$this->person_table = $au ? $au->tableName() : '';