mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
PHP Notice fix.
This commit is contained in:
@@ -3767,9 +3767,9 @@ var_dump($select_options);*/
|
|||||||
|
|
||||||
foreach($array as $val)
|
foreach($array as $val)
|
||||||
{
|
{
|
||||||
if($val['url'] === e_REQUEST_URI) // automatic link removal for current page.
|
if(!isset($val['url']) || ($val['url'] === e_REQUEST_URI)) // automatic link removal for current page.
|
||||||
{
|
{
|
||||||
$val['url']= null;
|
$val['url'] = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
$ret = '';
|
$ret = '';
|
||||||
|
Reference in New Issue
Block a user