From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [IPFire-SCM] [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 9da0695da76e008fbfadbf976b5eaa904f707b40 Date: Fri, 10 Feb 2012 11:11:56 +0100 Message-ID: <20120210101157.3BAFA200BF@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2945002619247664028==" List-Id: --===============2945002619247664028== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 9da0695da76e008fbfadbf976b5eaa904f707b40 (commit) from a73f60abb870bf94498eb1147f97b7b67b036f32 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9da0695da76e008fbfadbf976b5eaa904f707b40 Author: Michael Tremer Date: Fri Feb 10 11:10:14 2012 +0100 outgoingfw.cgi: Fix enabled checkbox when editing rules. When a rule was edited, the enabled checkbox was always unchecked. References bug #10022. ----------------------------------------------------------------------- Summary of changes: html/cgi-bin/outgoingfw.cgi | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Difference in files: diff --git a/html/cgi-bin/outgoingfw.cgi b/html/cgi-bin/outgoingfw.cgi index 295bde4..b417817 100644 --- a/html/cgi-bin/outgoingfw.cgi +++ b/html/cgi-bin/outgoingfw.cgi @@ -631,7 +631,7 @@ END sub addrule { &Header::openbox('100%', 'center', $Lang::tr{'Add Rule'}); - if ($outfwsettings{'EDIT'} eq 'no') { $selected{'ENABLED'} = 'checked'; } + if ($outfwsettings{'ENABLED'} eq 'on') { $selected{'ENABLED'} = 'checked'; } $selected{'TIME_FROM'}{$outfwsettings{'TIME_FROM'}} = "selected='selected'"; $selected{'TIME_TO'}{$outfwsettings{'TIME_TO'}} = "selected='selected'"; print <