diff options
-rw-r--r-- | etc/inc/config.lib.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index 4d939f7..cc82bf0 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -520,7 +520,8 @@ function write_config($desc="Unknown", $backup = true) { if (!empty($_SERVER['REMOTE_ADDR'])) $username .= '@' . $_SERVER['REMOTE_ADDR']; - session_commit(); + if (!isset($argc)) + session_commit(); if($backup) backup_config(); |