diff --git a/htdocs/admin/tools/eaccelerator.php b/htdocs/admin/tools/eaccelerator.php
index 737cc3406ef..e98bf3120e6 100644
--- a/htdocs/admin/tools/eaccelerator.php
+++ b/htdocs/admin/tools/eaccelerator.php
@@ -247,47 +247,52 @@ $var=true;
$var=true;
-?>
-
-
-
+$res = @eaccelerator_cached_scripts(); // If success return an array
+if (is_array($res))
+{
+ print "
";
+ print '";
+}
-
-Cached scripts
-
-
";
+print "Cached scripts
";
+print "";
+
+$res = @eaccelerator_cached_scripts(); // If success return an array
if (is_array($res)) create_script_table($res);
else print "Check in your php.ini that eaccelerator.allowed_admin_path parameter is "._FILE;
print '
';
print 'Removed scripts
';
-$res=eaccelerator_removed_scripts();
+$res = @eaccelerator_removed_scripts();
if (is_array($res)) create_script_table($res);
else print "Check in your php.ini that eaccelerator.allowed_admin_path parameter is "._FILE;