From: Andrew Dolgov Date: Tue, 19 Mar 2013 05:02:40 +0000 (+0400) Subject: print_select, print_select_hash: remove line endings and other special symbols (close... X-Git-Tag: 1.7.5~122 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e88c1943577993ffc661e92456b3d20c3b4ce832;p=tt-rss.git print_select, print_select_hash: remove line endings and other special symbols (closes #593) --- 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');