diff options
author | Bill Marquette <billm@pfsense.org> | 2005-03-27 20:24:29 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-03-27 20:24:29 +0000 |
commit | edf14245a9681a7c1b27fef468c31f376b2d44fe (patch) | |
tree | ec474a8ead8e1563e7a905a34fedb43c7169396a /usr/local | |
parent | 4d762703bcecf23852f071317739af102664f1c6 (diff) | |
download | pfsense-edf14245a9681a7c1b27fef468c31f376b2d44fe.zip pfsense-edf14245a9681a7c1b27fef468c31f376b2d44fe.tar.gz |
return true or false
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 4c049d2..dd66f4b 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -443,6 +443,7 @@ function gentitle($pgname) { } /* Check if variable has changed, update and log if it has + * returns true if var changed * varname = variable name in plain text * orig = original value * new = new value @@ -453,7 +454,9 @@ function updatechanged($varname, $orig, $new) { if ($orig != $new) { $changedesc .= " {$varname}: \"{$orig}\" -> \"{$new}\""; $orig = $new; + return true; } + return false; } |