aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/photos.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 9ce8ceb50..e50afd557 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -753,8 +753,11 @@ function photos_content(&$a) {
}
}
if($_REQUEST['aj']) {
- if(! $r)
+ if(! $r) {
$ajaxout .= '<div id="content-complete"></div>';
+ echo $ajaxout;
+ killme();
+ }
echo '<div id="photo-album-contents-' . $a->pager['page'] . '">';
echo $ajaxout;