mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Remove PHP Warnings - various undefined variables and typos
This commit is contained in:
parent
035ec70681
commit
a8f2dfe48d
@ -13,22 +13,24 @@ if (ADMIN) {
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach(array_keys($e107_plug) as $xplug){
|
||||
if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) {
|
||||
if ($pref['admin_alerts_uniquemenu'] == 1) {
|
||||
$text .= "<b>".$xplug."</b><br />";
|
||||
} else {
|
||||
$text = "";
|
||||
}
|
||||
require_once(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php");
|
||||
$text .= "<br />";
|
||||
if ($pref['admin_alerts_uniquemenu'] != 1) {
|
||||
$caption = $xplug;
|
||||
$ns -> tablerender($caption, $text);
|
||||
} else {
|
||||
if (is_array($e107_plug)) {
|
||||
foreach(array_keys($e107_plug) as $xplug){
|
||||
if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) {
|
||||
if ($pref['admin_alerts_uniquemenu'] == 1) {
|
||||
$text .= "<b>".$xplug."</b><br />";
|
||||
} else {
|
||||
$text = "";
|
||||
}
|
||||
require_once(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php");
|
||||
$text .= "<br />";
|
||||
if ($pref['admin_alerts_uniquemenu'] != 1) {
|
||||
$caption = $xplug;
|
||||
$ns -> tablerender($caption, $text);
|
||||
} else {
|
||||
$text .= "<br />";
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user