diff options
author | zotlabs <mike@macgirvin.com> | 2018-08-26 23:00:31 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-08-26 23:00:31 -0700 |
commit | 9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e (patch) | |
tree | af109abdb981631e235c51fbfbf1ebcee486c1f9 /Zotlabs/Module/Connections.php | |
parent | 7018da3f127e9d2abdb359516d079fc038a4c2a3 (diff) | |
download | volse-hubzilla-9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e.tar.gz volse-hubzilla-9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e.tar.bz2 volse-hubzilla-9367e9fe5a0125bf4c2f77909f2789c9dcd41e1e.zip |
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'.
Diffstat (limited to 'Zotlabs/Module/Connections.php')
-rw-r--r-- | Zotlabs/Module/Connections.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connections.php b/Zotlabs/Module/Connections.php index cecada769..48b59cb8c 100644 --- a/Zotlabs/Module/Connections.php +++ b/Zotlabs/Module/Connections.php @@ -326,7 +326,7 @@ class Connections extends \Zotlabs\Web\Controller { killme(); } else { - $o .= "<script> var page_query = '" . escape_tags($_GET['q']) . "'; var extra_args = '" . extra_query_args() . "' ; </script>"; + $o .= "<script> var page_query = '" . escape_tags($_GET['req']) . "'; var extra_args = '" . extra_query_args() . "' ; </script>"; $o .= replace_macros(get_markup_template('connections.tpl'),array( '$header' => t('Connections') . (($head) ? ': ' . $head : ''), '$tabs' => $tabs, |