diff --git a/setup/check_install.php b/setup/check_install.php
index 8878053f39..57747d2696 100644
--- a/setup/check_install.php
+++ b/setup/check_install.php
@@ -1,20 +1,19 @@
\n";
}
@@ -371,7 +370,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'];
}