summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index c7b3a01..2ef5b9f 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -749,7 +749,7 @@ function restore_config_section($section, $new_contents) {
global $config;
conf_mount_rw();
config_lock();
- &$config[$section] = $new_contents;
+ $config[$section] = &$new_contents;
write_config();
conf_mount_ro();
config_unlock();
OpenPOWER on IntegriCloud