From 619eb19342506f8f3cd673bf100ee1f970bc6d55 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 3 Apr 2011 01:51:54 +0200 Subject: [PATCH] Fixed incorrect if-statement for error handling --- root/includes/acp/acp_portal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index d8ad8b5e..fc847215 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -749,7 +749,7 @@ class acp_portal $cache->purge(); // make sure we don't get errors after re-adding a module // if something went wrong, handle the errors accordingly and undo the above query - if (sizeof($error)) + if (sizeof($error) && $error != true) { if (is_array($error)) {