projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix cache return
[Pman.Core]
/
DataObjects
/
Core_enum.php
diff --git
a/DataObjects/Core_enum.php
b/DataObjects/Core_enum.php
index
29ef576
..
7a9c12b
100644
(file)
--- a/
DataObjects/Core_enum.php
+++ b/
DataObjects/Core_enum.php
@@
-257,7
+257,7
@@
class Pman_Core_DataObjects_Core_enum extends DB_DataObject
static $cache = array();
$ckey = json_encode(array($etype, $name));
if (isset($cache[$ckey])) {
- return $cache[$ckey]
->id
;
+ return $cache[$ckey];
}
// check