diff --git a/mod/photos.php b/mod/photos.php
index d3300c8005..003bcd9150 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1183,8 +1183,6 @@ function photos_content(&$a) {
intval($a->pager['itemspage'])
);
- $o .= '
' . $album . '
';
-
if($cmd === 'edit') {
if(($album !== t('Profile Photos')) && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) {
if($can_post) {
@@ -1266,7 +1264,7 @@ function photos_content(&$a) {
'$edit' => $edit
));
- $o .= '';
+ $o .= paginate($a);
return $o;