projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d02ab3
)
sync
author
john
<john@roojs.com>
Thu, 11 Oct 2018 06:36:00 +0000
(14:36 +0800)
committer
john
<john@roojs.com>
Thu, 11 Oct 2018 06:36:00 +0000
(14:36 +0800)
DataObjects/Core_setting.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_setting.php
b/DataObjects/Core_setting.php
index
a0eae02
..
1a69da3
100644
(file)
--- a/
DataObjects/Core_setting.php
+++ b/
DataObjects/Core_setting.php
@@
-89,7
+89,7
@@
class Pman_Core_DataObjects_Core_setting extends DB_DataObject
$c = $this->lookup($a['module'], $a['name']);
- $o = clone($c);
+ $o =
empty($c) ? false :
clone($c);
if(empty($c)) {
$c = DB_DataObject::factory('core_setting');