From e88c1943577993ffc661e92456b3d20c3b4ce832 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Mar 2013 09:02:40 +0400 Subject: [PATCH] print_select, print_select_hash: remove line endings and other special symbols (closes #593) --- include/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 538e4311..43a9270e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -461,6 +461,8 @@ else $sel = ""; + $v = trim($v); + print ""; } print ""; @@ -474,6 +476,8 @@ else $sel = ""; + $v = trim($v); + print ""; } @@ -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'); -- 2.39.5