diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcmail_install.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/program/include/rcmail_install.php b/program/include/rcmail_install.php index 2ba90693f..0d5fbc5da 100644 --- a/program/include/rcmail_install.php +++ b/program/include/rcmail_install.php @@ -234,10 +234,9 @@ class rcmail_install else if (is_numeric($value)) { $value = intval($value); } - else if ($prop == 'plugins') { + else if ($prop == 'plugins' && !empty($_POST['submit'])) { $value = array(); - foreach(array_keys($_POST) as $key) - { + foreach (array_keys($_POST) as $key) { if (preg_match('/^_plugins_*/', $key)) array_push($value, $_POST[$key]); } |