1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Remove PHP Warnings - various undefined variables and typos

This commit is contained in:
mrpete
2006-12-05 09:29:32 +00:00
parent 035ec70681
commit a8f2dfe48d

View File

@@ -13,6 +13,7 @@ if (ADMIN) {
} }
} }
} }
if (is_array($e107_plug)) {
foreach(array_keys($e107_plug) as $xplug){ foreach(array_keys($e107_plug) as $xplug){
if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) { if (file_exists(e_PLUGIN.$e107_plug[$xplug]."/admin_info.php")) {
if ($pref['admin_alerts_uniquemenu'] == 1) { if ($pref['admin_alerts_uniquemenu'] == 1) {
@@ -31,6 +32,7 @@ if (ADMIN) {
$i++; $i++;
} }
} }
}
$caption = LAN_head_6; $caption = LAN_head_6;