summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pppoe_edit.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 15:33:28 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 15:33:28 -0300
commitb1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc (patch)
treecb1cb173d468581e832a78849e7084457a2a9533 /usr/local/www/vpn_pppoe_edit.php
parent3f48162fdea51aa7a9ff64e4ebf4cc777dc9f029 (diff)
downloadpfsense-b1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc.zip
pfsense-b1e4005f9fd3c3e4e7ef86cdf756cfc84c3f6efc.tar.gz
removes variables concatenation on gettext strings
Diffstat (limited to 'usr/local/www/vpn_pppoe_edit.php')
-rwxr-xr-xusr/local/www/vpn_pppoe_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pppoe_edit.php b/usr/local/www/vpn_pppoe_edit.php
index 6c94797..ea6f5f0 100755
--- a/usr/local/www/vpn_pppoe_edit.php
+++ b/usr/local/www/vpn_pppoe_edit.php
@@ -139,9 +139,9 @@ if ($_POST) {
for($x=0; $x<4999; $x++) {
if ($_POST["username{$x}"]) {
if (empty($_POST["password{$x}"]))
- $input_errors[] = gettext("No password specified for username ") . $_POST["username{$x}"];
+ $input_errors[] = sprintf(gettext("No password specified for username %s"),$_POST["username{$x}"]);
if ($_POST["ip{$x}"] <> "" && !is_ipaddr($_POST["ip{$x}"]))
- $input_errors[] = gettext("Incorrect ip address specified for username ") . $_POST["username{$x}"];
+ $input_errors[] = sprintf(gettext("Incorrect ip address specified for username %s"),$_POST["username{$x}"]);
}
}
}
OpenPOWER on IntegriCloud