Changeset 21563 for branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents.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.php
r21527 r21563 267 267 if (strlen($news_id) == 0) { 268 268 $where = 'del_flg = 0'; 269 $arr val = array();269 $arrWhereVal = array(); 270 270 } else { 271 271 $where = 'del_flg = 0 AND news_id = ?'; 272 $arr val = array($news_id);272 $arrWhereVal = array($news_id); 273 273 } 274 274 $objQuery->setOrder($order); 275 return $objQuery->select($col, $table, $where, $arrval);275 return $objQuery->select($col, $table, $where, $arrWhereVal); 276 276 } 277 277 … … 285 285 $table = 'dtb_news'; 286 286 $where = 'del_flg = 0 AND news_id = ?'; 287 $arr val = array($news_id);288 list($rank) = $objQuery->select($col, $table, $where, $arr val);287 $arrWhereVal = array($news_id); 288 list($rank) = $objQuery->select($col, $table, $where, $arrWhereVal); 289 289 return $rank['rank']; 290 290 }
Note: See TracChangeset
for help on using the changeset viewer.