diff options
Diffstat (limited to 'admin/plugins.php')
-rw-r--r-- | admin/plugins.php | 2 |
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) ) { |