Changeset 816 for trunk/lib/Navigation.inc.php
- Timestamp:
- Jul 3, 2024 1:26:01 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Navigation.inc.php
r810 r816 440 440 } 441 441 442 if (empty($test_uri)) { 443 return $false_return; 444 } 445 442 446 $actual_uri = $include_query ? $_SERVER['REQUEST_URI'] : (strstr(getenv('REQUEST_URI'), '?', true) ?: getenv('REQUEST_URI')); // strstr() returns false if '?' is not found, so use a shorthand ternary operator. 443 447 $test_uri = $include_query ? $test_uri : (strstr($test_uri, '?', true) ?: $test_uri); // strstr() returns false if '?' is not found, so use a shorthand ternary operator.
Note: See TracChangeset
for help on using the changeset viewer.