mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Minor fix
This commit is contained in:
parent
8fc438f913
commit
4b114e63a4
@ -1071,10 +1071,8 @@ class Item extends CachedModel
|
||||
|
||||
$mobile_navigation = false;
|
||||
|
||||
if (isset($_SERVER['PHP_SELF']) === true
|
||||
&& isset($_SERVER['HTTP_REFERER']) === true
|
||||
&& (strstr($_SERVER['PHP_SELF'], 'mobile/') !== false
|
||||
|| strstr($_SERVER['HTTP_REFERER'], 'mobile/') !== false)
|
||||
if (strstr(($_SERVER['PHP_SELF'] ?? ''), 'mobile/') !== false
|
||||
|| strstr(($_SERVER['HTTP_REFERER'] ?? ''), 'mobile/') !== false
|
||||
) {
|
||||
$mobile_navigation = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user