dever 3 vuotta sitten
vanhempi
commit
c391343ac2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lib/Info.php

+ 1 - 1
lib/Info.php

@@ -122,7 +122,7 @@ class Info
         $page['num'] = 10;
         $page['num'] = 10;
         $where_sql = implode(' and ', $where_sql);
         $where_sql = implode(' and ', $where_sql);
 
 
-        $sql = 'SELECT t_2.* FROM `info_goods_'.$attr->config['name'].'` as t_1 Left Join `info_goods_info` AS t_2 ON t_1.`info_id`=t_2.`id` WHERE '.$where_sql.' order by t_2.`reorder` desc,t_2.`id` desc';
+        $sql = 'SELECT t_2.* FROM `{project}_goods_'.$attr->config['name'].'` as t_1 Left Join `{project}_goods_info` AS t_2 ON t_1.`info_id`=t_2.`id` WHERE '.$where_sql.' order by t_2.`reorder` desc,t_2.`id` desc';
 
 
         $data = $attr->fetchAll($sql, array(), $page);
         $data = $attr->fetchAll($sql, array(), $page);