diff --git a/mod/photos.php b/mod/photos.php index 866d8c275..f2df894c0 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -635,7 +635,7 @@ function photos_content(&$a) { ); if(count($r)) { $a->set_pager_total(count($r)); - $a->set_pager_itemspage(30); + $a->set_pager_itemspage(60); } if($_GET['order'] === 'posted') @@ -753,12 +753,15 @@ function photos_content(&$a) { } } if($_REQUEST['aj']) { - if(! $r) + if(! $r) { $ajaxout .= '
'; + echo $ajaxout; + killme(); + } echo '