projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02718f4
)
DataObjects/Core_templatestr.php
author
leon
<leon@roojs.com>
Thu, 3 Aug 2023 03:54:08 +0000
(11:54 +0800)
committer
leon
<leon@roojs.com>
Thu, 3 Aug 2023 03:54:08 +0000
(11:54 +0800)
DataObjects/Core_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_templatestr.php
b/DataObjects/Core_templatestr.php
index
17ab748
..
e22cf98
100644
(file)
--- a/
DataObjects/Core_templatestr.php
+++ b/
DataObjects/Core_templatestr.php
@@
-106,7
+106,9
@@
class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
$ar = explode('=', $cond);
$key = $ar[0];
- $x->{$ar[0]} = $ar[1];
+ if($obj->{$ar[0]} != $ar[1]) {
+ continue;
+ }
}
$x->on_id = $obj->pid();
$x->on_table = $tn;