]> git.mxchange.org Git - friendica.git/commitdiff
urlescape saved search terms
authorFriendika <info@friendika.com>
Tue, 4 Oct 2011 12:19:25 +0000 (05:19 -0700)
committerFriendika <info@friendika.com>
Tue, 4 Oct 2011 12:19:25 +0000 (05:19 -0700)
mod/network.php

index 371a35402a14208c3326c675a144e192e1347e48..f0e9e4441cfe5d3739d5962685aef42098ed253f 100644 (file)
@@ -137,7 +137,7 @@ function saved_searches($search) {
        if(count($r)) {
                $o .= '<ul id="saved-search-ul">' . "\r\n";
                foreach($r as $rr) {
-                       $o .= '<li class="saved-search-li clear"><a href="network/?f=&remove=1&search=' . $rr['term'] . '" class="icon drophide savedsearchdrop" title="' . t('Remove term') . '" onclick="return confirmDelete();" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> <a href="network/?f&search=' . $rr['term'] . '" class="savedsearchterm" >' . $rr['term'] . '</a></li>' . "\r\n";
+                       $o .= '<li class="saved-search-li clear"><a href="network/?f=&remove=1&search=' . $rr['term'] . '" class="icon drophide savedsearchdrop" title="' . t('Remove term') . '" onclick="return confirmDelete();" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> <a href="network/?f&search=' . urlencode($rr['term']) . '" class="savedsearchterm" >' . $rr['term'] . '</a></li>' . "\r\n";
                }
                $o .= '</ul>';
        }