From aaae6e26ff10b110b2e5f3f92b7bd99ba7e25a04 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 12 Mar 2005 19:05:44 +0000 Subject: When assigning the array back to $config, use the pointer on the source. --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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(); -- cgit v1.1