projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a56422
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 06:36:53 +0000
(14:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jan 2013 06:36:53 +0000
(14:36 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
48bab37
..
e68ef8c
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-306,13
+306,15
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
}
+
+
$u = DB_DataObject::factory('Person');
$u->whereAdd(' LENGTH(passwd) > 0');
if (!$u->count()){
// fake person - open system..
- $ce = DB_DataObject::factory('core_enum');
- $ce->initEnums();
+
//
$ce = DB_DataObject::factory('core_enum');
+
//
$ce->initEnums();
$u = DB_DataObject::factory('Person');