summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-08-15 03:49:55 +0100
committerAndrew Dolgov <[email protected]>2007-08-15 03:49:55 +0100
commitf541eb78f748e128620fa85c7c1c47c3cae2ee4e (patch)
treea7a01bdd6857dbaaaa106201f174a416c886db20 /functions.php
parenteb7ab95260d92e8e6131594f9faef09bc1044a29 (diff)
save configuration: localization fix
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index f3136413e..629b78cb3 100644
--- a/functions.php
+++ b/functions.php
@@ -1155,7 +1155,7 @@
return ((float)$usec + (float)$sec);
}
- function print_radio($id, $default, $values, $attributes = "") {
+ function print_radio($id, $default, $true_is, $values, $attributes = "") {
foreach ($values as $v) {
if ($v == $default)
@@ -1163,7 +1163,7 @@
else
$sel = "";
- if ($v == "Yes") {
+ if ($v == $true_is) {
$sel .= " value=\"1\"";
} else {
$sel .= " value=\"0\"";