From 128c9b20e0e567156c19384407772f66fcb174cb Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Tue, 21 Mar 2017 22:39:53 +0100
Subject: [PATCH] fixed curly braces + added more

Signed-off-by: Roland Haeder <roland@mxchange.org>
---
 mod/photos.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mod/photos.php b/mod/photos.php
index 6fc546454d..c919527da2 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1683,8 +1683,9 @@ function photos_content(App $a)
 		$twist = false;
 		foreach ($r as $rr) {
 			//hide profile photos to others
-			if (!$is_owner && !remote_user() && ($rr['album'] == L10n::t('Profile Photos')))
+			if (!$is_owner && !remote_user() && ($rr['album'] == L10n::t('Profile Photos'))) {
 				continue;
+			}
 
 			$twist = !$twist;