diff options
author | friendica <info@friendica.com> | 2013-09-05 01:18:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-05 01:18:05 -0700 |
commit | fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566 (patch) | |
tree | e50de3a292ba70d5a08cd6a6baad51b6b14a4c81 /mod/network.php | |
parent | f1d875c3e181ce02020830ed9e40b0ffb38ccc85 (diff) | |
download | volse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.tar.gz volse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.tar.bz2 volse-hubzilla-fd5e2c6d6c2c66c37fdba7cf26d50dfe1b83e566.zip |
fix network search - except it can't search private posts. That may be a problem.
Diffstat (limited to 'mod/network.php')
-rw-r--r-- | mod/network.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php index b2ff671c7..9b108aef8 100644 --- a/mod/network.php +++ b/mod/network.php @@ -379,7 +379,7 @@ function network_content(&$a, $update = 0, $load = false) { // --- end item filter tabs - + $search = (($_GET['search']) ? $_GET['search'] : ''); // search terms header if($search) $o .= '<h2>' . t('Search Results For:') . ' ' . htmlspecialchars($search) . '</h2>'; @@ -484,6 +484,7 @@ function network_content(&$a, $update = 0, $load = false) { . "'; var profile_page = " . $a->pager['page'] . ";</script>"; +logger('Search: ' . $search); $a->page['htmlhead'] .= replace_macros(get_markup_template("build_query.tpl"),array( '$baseurl' => z_root(), |