Changeset 21563 for branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
- Timestamp:
- 2012/02/28 22:35:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
r21527 r21563 200 200 $table = 'dtb_best_products'; 201 201 $where = 'category_id = ? AND rank = ?'; 202 $arr val = array($arrPost['category_id'],$arrPost['rank']);203 $objQuery->delete($table, $where, $arr val);202 $arrWhereVal = array($arrPost['category_id'],$arrPost['rank']); 203 $objQuery->delete($table, $where, $arrWhereVal); 204 204 } 205 205 … … 214 214 $table = 'dtb_products'; 215 215 $where = 'product_id = ? AND del_flg = 0'; 216 $arr val = array($product_id);217 $arrProduct = $objQuery->select($col, $table, $where, $arr val);216 $arrWhereVal = array($product_id); 217 $arrProduct = $objQuery->select($col, $table, $where, $arrWhereVal); 218 218 return $arrProduct[0]; 219 219 }
Note: See TracChangeset
for help on using the changeset viewer.