From 4ab9783482ec369b4e4590c3da1b986252b4648a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 6 Aug 2006 05:37:42 +0000 Subject: [PATCH] killed a few warnings for error_reporting = E_ALL --- setup/check_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/check_install.php b/setup/check_install.php index 3196c77b83..26b8f11b3a 100644 --- a/setup/check_install.php +++ b/setup/check_install.php @@ -415,7 +415,7 @@ $checks = implode(', ',$checks); $icon = $passed_icon; - if (($msg = $args['msg'])) + if (isset($args['msg']) && ($msg = $args['msg'])) { $msg .= ': '.$perms."
\n"; } @@ -423,7 +423,7 @@ { $msg = lang('Checking file-permissions of %1 for %2 %3: %4',$rel_name,$check_not,$checks,$perms)."
\n"; } - if ($args['error']) + if (isset($args['error']) && $args['error']) { $extra_error_msg = "
\n".$args['error']; }