projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c526fe1
)
DataObjects/Core_enum.php
author
Alan Knowles
<alan@roojs.com>
Wed, 16 Jan 2013 02:29:34 +0000
(10:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 16 Jan 2013 02:29:34 +0000
(10:29 +0800)
DataObjects/Core_enum.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_enum.php
b/DataObjects/Core_enum.php
index
d1381b8
..
636d0a4
100644
(file)
--- a/
DataObjects/Core_enum.php
+++ b/
DataObjects/Core_enum.php
@@
-153,13
+153,10
@@
class Pman_Core_DataObjects_Core_enum extends DB_DataObject
}
- function initEnums($data
= false
, $base = array())
+ function initEnums($data, $base = array())
{
- if ($data === false) {
- $this->initEnums($this->baseEnums());
- return;
- }
+
$seq_id = 0;
if (!empty($base['etype'])) {
$seq_id = 1;