Changeset 21441 for branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php
- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductRank.php
r21420 r21441 78 78 isset($_POST['product_id']) ? $_POST['product_id'] : ''; 79 79 80 switch ($this->getMode()) {80 switch ($this->getMode()) { 81 81 case 'up': 82 82 $this->lfRankUp($objDb, $this->arrForm['parent_category_id'], $this->arrForm['product_id']); … … 187 187 $key = "pos-".$product_id; 188 188 $input_pos = mb_convert_kana($_POST[$key], 'n'); 189 if (SC_Utils_Ex::sfIsInt($input_pos)) {189 if (SC_Utils_Ex::sfIsInt($input_pos)) { 190 190 $where = "category_id = " . SC_Utils_Ex::sfQuoteSmart($parent_category_id); 191 191 $objDb->sfMoveRank("dtb_product_categories", "product_id", $product_id, $input_pos, $where);
Note: See TracChangeset
for help on using the changeset viewer.