aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-16 13:28:22 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-16 13:28:22 -0400
commita8c1cbc65592b58beb2042defa476acdd27fe8fd (patch)
tree0476b132c4cb6dc74dae9cbf493db258610cc9e3 /include/text.php
parente21bf3341b89363207271d42e2d1163639b06d12 (diff)
parent28f941193d75ca12f4cb2a38a1c60e60ad10f2a6 (diff)
downloadvolse-hubzilla-a8c1cbc65592b58beb2042defa476acdd27fe8fd.tar.gz
volse-hubzilla-a8c1cbc65592b58beb2042defa476acdd27fe8fd.tar.bz2
volse-hubzilla-a8c1cbc65592b58beb2042defa476acdd27fe8fd.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: syntax error from pasted text, remove ^M's bug #335 network search broken after new ssl policy settings whitespace notification for disapora comments * master:
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index d34fd7fbe..cdf82ca87 100644
--- a/include/text.php
+++ b/include/text.php
@@ -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)