bug #335 network search broken after new ssl policy settings

pull/140/head
friendica 11 years ago
parent 805087af67
commit 224dfa848b
  1. 2
      include/text.php
  2. 2
      mod/network.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)

@ -90,7 +90,7 @@ function saved_searches($search) {
$o = replace_macros($tpl, array(
'$title' => t('Saved Searches'),
'$add' => t('add'),
'$searchbox' => search($search,'netsearch-box',$a->get_baseurl(true) . $srchurl,true),
'$searchbox' => search($search,'netsearch-box',$srchurl,true),
'$saved' => $saved,
));

Loading…
Cancel
Save