Changeset 21376 for branches/version-2_11-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
- Timestamp:
- 2011/12/26 17:11:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/admin/design/LC_Page_Admin_Design.php
r20970 r21376 274 274 $arrParams['anywhere'] = intval($objFormParam->getValue('anywhere_' . $i)); 275 275 if ($arrParams['anywhere'] == 1) { 276 $ count = $objQuery->count('dtb_blocposition', 'anywhere = 1 AND bloc_id = ? AND device_type_id = ?',276 $exists = $objQuery->exists('dtb_blocposition', 'anywhere = 1 AND bloc_id = ? AND device_type_id = ?', 277 277 array($id, $device_type_id)); 278 if ($ count > 0) {278 if ($exists) { 279 279 continue; 280 280 }
Note: See TracChangeset
for help on using the changeset viewer.