Changeset 958 for trunk/Packages
- Timestamp:
- Sep 23, 2023, 12:04:04 AM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/Common.php
r901 r958 84 84 85 85 if (!array_key_exists('Page', $_SESSION)) $_SESSION['Page'] = 0; 86 if (array_key_exists('page', $_GET) ) $_SESSION['Page'] = $_GET['page'] * 1;86 if (array_key_exists('page', $_GET) and is_numeric($_GET['page'])) $_SESSION['Page'] = $_GET['page'] * 1; 87 87 if ($_SESSION['Page'] < 0) $_SESSION['Page'] = 0; 88 88 if ($_SESSION['Page'] >= $PageCount) $_SESSION['Page'] = $PageCount - 1;
Note:
See TracChangeset
for help on using the changeset viewer.