aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index da16841de..b10cc718e 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -89,10 +89,12 @@ INSERT INTO '.PLUGINS_TABLE.' (id,version) VALUES ("'
if ( !isset($crt_db_plugin) )
{
array_push($errors, 'CANNOT '. $_GET['action'] .' - NOT INSTALLED');
+ break;
}
if ($crt_db_plugin['state']!='inactive')
{
array_push($errors, 'invalid current state '.$crt_db_plugin['state']);
+ break;
}
if ( file_exists($file_to_include) )
{