aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Viewconnections.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-08-26 23:05:56 -0700
committerzotlabs <mike@macgirvin.com>2018-08-26 23:05:56 -0700
commite4b6a143c7679428ecf7208274fddb5f1b37c70e (patch)
tree851038d0bcb8193aa553e0c320bfbf9717a3397a /Zotlabs/Module/Viewconnections.php
parent9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e (diff)
downloadvolse-hubzilla-e4b6a143c7679428ecf7208274fddb5f1b37c70e.tar.gz
volse-hubzilla-e4b6a143c7679428ecf7208274fddb5f1b37c70e.tar.bz2
volse-hubzilla-e4b6a143c7679428ecf7208274fddb5f1b37c70e.zip
Revert "Change main router request variable from 'q' to 'req'. This is necessary to implement search in the twitter api addon, because twitter requires use of the variable 'q'." Reverting because this will only work with Apache and break nginx/other installations.
This reverts commit 9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e.
Diffstat (limited to 'Zotlabs/Module/Viewconnections.php')
-rw-r--r--Zotlabs/Module/Viewconnections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewconnections.php b/Zotlabs/Module/Viewconnections.php
index 223e185e1..0a5e86907 100644
--- a/Zotlabs/Module/Viewconnections.php
+++ b/Zotlabs/Module/Viewconnections.php
@@ -107,7 +107,7 @@ class Viewconnections extends \Zotlabs\Web\Controller {
killme();
}
else {
- $o .= "<script> var page_query = '" . escape_tags($_GET['req']) . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
+ $o .= "<script> var page_query = '" . escape_tags($_GET['q']) . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
$tpl = get_markup_template("viewcontact_template.tpl");
$o .= replace_macros($tpl, array(
'$title' => t('View Connections'),