projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040426e
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 17 Dec 2012 03:10:58 +0000
(11:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 17 Dec 2012 03:10:58 +0000
(11:10 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
ac9064e
..
a857b12
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-810,6
+810,10
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
function onInsert($req, $roo)
{
$p = DB_DataObject::factory('Person');
+
+ print_R($roo->authUser->id);
+ exit;
+
if ($roo->authUser->id < 0 && $p->count() == 1) {
// this seems a bit risky...