aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-06 00:48:00 -0700
committerfriendica <info@friendica.com>2014-09-06 00:48:00 -0700
commitb9f221637bc98cc64bcbc6becb4ffa4a2706cb87 (patch)
tree8cd376176cd2bd4a4d4ffd2ec86e50d3f71500ae /mod/photos.php
parent8c63bb40a79dc99b2ae1b2d73b716594e741502b (diff)
downloadvolse-hubzilla-b9f221637bc98cc64bcbc6becb4ffa4a2706cb87.tar.gz
volse-hubzilla-b9f221637bc98cc64bcbc6becb4ffa4a2706cb87.tar.bz2
volse-hubzilla-b9f221637bc98cc64bcbc6becb4ffa4a2706cb87.zip
and more ajax work
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 3bc105ba1..5618ae4e6 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -730,7 +730,7 @@ function photos_content(&$a) {
$rel=("photo");
// }
- $o .= "<script> var page_query = '" . $a->query_string . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
+ $o .= "<script> var page_query = '" . $_GET['q'] . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
$tmp = replace_macros($tpl,array(
'$id' => $rr['id'],
@@ -1223,7 +1223,7 @@ function photos_content(&$a) {
killme();
}
else {
- $o .= "<script> var page_query = '" . $a->query_string . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
+ $o .= "<script> var page_query = '" . $_GET['q'] . "'; var extra_args = '" . extra_query_args() . "' ; </script>";
$tpl = get_markup_template('photos_recent.tpl');
$o .= replace_macros($tpl, array(
'$title' => t('Recent Photos'),