summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 538e43118..43a9270eb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -461,6 +461,8 @@
else
$sel = "";
+ $v = trim($v);
+
print "<option value=\"$v\" $sel>$v</option>";
}
print "</select>";
@@ -474,6 +476,8 @@
else
$sel = "";
+ $v = trim($v);
+
print "<option $sel value=\"$v\">".$values[$v]."</option>";
}
@@ -3908,7 +3912,7 @@
function implements_interface($class, $interface) {
return in_array($interface, class_implements($class));
}
-
+
function geturl($url){
(function_exists('curl_init')) ? '' : die('cURL Must be installed for geturl function to work. Ask your host to enable it or uncomment extension=php_curl.dll in php.ini');