From cb47fdfcb9f61fd3c6b0c308448e66481482aafb Mon Sep 17 00:00:00 2001 From: Rabuzarus Date: Fri, 26 Dec 2014 03:32:21 +0100 Subject: [PATCH] minor change: rel should not be part of the PHP --- mod/photos.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/mod/photos.php b/mod/photos.php index 8fc26d9858..2521a1cf0b 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1242,14 +1242,11 @@ function photos_content(&$a) { $desc_e = $rr['desc']; } - $rel=("photo"); - $photos[] = array( 'id' => $rr['id'], 'twist' => ' ' . $twist . rand(2,4), 'link' => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $rr['resource-id'] . (($_GET['order'] === 'posted') ? '?f=&order=posted' : ''), - 'rel' => $rel, 'title' => t('View Photo'), 'src' => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.' .$ext, 'alt' => $imgalt_e, -- 2.39.5