]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
bug #335 network search broken after new ssl policy settings
[friendica.git] / include / text.php
index d34fd7fbeec35bcacfb5a1bd2fa201a3e770d692..cdf82ca87dfe7f4e48c7df146ea9e293c186d0e9 100644 (file)
@@ -638,7 +638,7 @@ if(! function_exists('search')) {
 function search($s,$id='search-box',$url='/search',$save = false) {
        $a = get_app();
        $o  = '<div id="' . $id . '">';
-       $o .= '<form action="' . $a->get_baseurl() . $url . '" method="get" >';
+       $o .= '<form action="' . $a->get_baseurl((stristr($url,'network')) ? true : false) . $url . '" method="get" >';
        $o .= '<input type="text" name="search" id="search-text" value="' . $s .'" />';
        $o .= '<input type="submit" name="submit" id="search-submit" value="' . t('Search') . '" />'; 
        if($save)