DataObjects/Cms_templatestr.php
authorAlan Knowles <alan@roojs.com>
Mon, 9 Oct 2017 05:33:14 +0000 (13:33 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 9 Oct 2017 05:33:14 +0000 (13:33 +0800)
DataObjects/Cms_templatestr.php

index dea6656..30235e5 100644 (file)
@@ -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;