Thomas Bruederli
2015-02-03 be140e827df4d88a6a330479bdde691915ad6a08
Don't reset 'plugins' config option when running from update.sh script
1 files modified
5 ■■■■■ changed files
program/include/rcmail_install.php 5 ●●●●● patch | view | raw | blame | history
program/include/rcmail_install.php
@@ -234,10 +234,9 @@
      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]);
        }