summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-03-27 21:52:35 +0000
committerBill Marquette <billm@pfsense.org>2005-03-27 21:52:35 +0000
commite98c992a4ee547a36ccb63d53d821f736660f023 (patch)
tree8c3810a97780c232f5ffbbe4dd336c8bdfd0da97 /usr/local
parentbb0c9569c2feb81b6411fd1f61f7c4c93e82e101 (diff)
downloadpfsense-e98c992a4ee547a36ccb63d53d821f736660f023.zip
pfsense-e98c992a4ee547a36ccb63d53d821f736660f023.tar.gz
set a change counter
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/guiconfig.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 407332c..e3c6cea 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -450,9 +450,11 @@ function gentitle($pgname) {
*/
function update_if_changed($varname, $orig, $new) {
global $changedesc;
+ global $changecount;
if ($orig != $new) {
$changedesc .= " {$varname}: \"{$orig}\" -> \"{$new}\"";
+ $changecount++;
$orig = $new;
return true;
}
OpenPOWER on IntegriCloud