mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-25 16:09:28 +00:00
Fixed PHP compatibility issues
This commit is contained in:
@@ -306,10 +306,11 @@ class NavigationLib
|
||||
private function _getNavigationtPage($params)
|
||||
{
|
||||
//
|
||||
$trimed = trim($params[self::NAVIGATION_PAGE_PARAM]);
|
||||
if ($params != null
|
||||
&& is_array($params)
|
||||
&& isset($params[self::NAVIGATION_PAGE_PARAM])
|
||||
&& !empty(trim($params[self::NAVIGATION_PAGE_PARAM])))
|
||||
&& !empty($trimed))
|
||||
{
|
||||
$navigationPage = $params[self::NAVIGATION_PAGE_PARAM];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user