Changeset 5378
- Timestamp:
- 12/10/07 01:39:18 (5 years ago)
- Files:
-
- modules/branches/2.4/paging/functions.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.4/paging/functions.inc.php
r5377 r5378 382 382 $sql = "SELECT * FROM admin WHERE variable='default_page_group' AND value='$grp'"; 383 383 $default_group = $db->getRow($sql, DB_FETCHMODE_ASSOC); 384 if(DB::IsError($ results)) {384 if(DB::IsError($default_group)) { 385 385 $results['default_group'] = 0; 386 386 } else { … … 484 484 $tech_hardware = isset($_REQUEST['tech_hardware'])?$_REQUEST['tech_hardware']:null; 485 485 486 // We only want to hook ' users' or 'extensions' pages.486 // We only want to hook 'devices' or 'extensions' pages. 487 487 if ($pagename != 'devices' && $pagename != 'extensions') { 488 488 return true;
