Changeset 958 for trunk/Modules/IS/IS.php
- Timestamp:
- Sep 23, 2023, 12:04:04 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r922 r958 42 42 if (array_key_exists('menutype', $_COOKIE)) $MenuType = $_COOKIE['menutype']; 43 43 else $MenuType = 0; 44 if (array_key_exists('menutype', $_GET) ) $MenuType = $_GET['menutype'] * 1;44 if (array_key_exists('menutype', $_GET) and is_numeric($_GET['menutype'])) $MenuType = $_GET['menutype'] * 1; 45 45 setcookie('menutype', $MenuType, time() + 60 * 60 * 24 * 365); 46 46
Note:
See TracChangeset
for help on using the changeset viewer.