projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c40f82
)
DataObjects/Cms_templatestr.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Oct 2017 05:33:14 +0000
(13:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Oct 2017 05:33:14 +0000
(13:33 +0800)
DataObjects/Cms_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Cms_templatestr.php
b/DataObjects/Cms_templatestr.php
index
dea6656
..
30235e5
100644
(file)
--- a/
DataObjects/Cms_templatestr.php
+++ b/
DataObjects/Cms_templatestr.php
@@
-412,7
+412,7
@@
class Pman_Cms_DataObjects_Cms_templatestr extends DB_DataObject
//old code, this did not support the on_table
// $id_tmp = $t->fetchAll('id','template_id');
// $ids = array_keys($id_tmp);
-
+ $id_tmp = array();
//new code for support the sync tables
foreach($t->fetchAll() as $ori){
$id_tmp[$ori->id] = $ori;