]> git.mxchange.org Git - friendica.git/commitdiff
fixed curly braces + added more
authorRoland Haeder <roland@mxchange.org>
Tue, 21 Mar 2017 21:39:53 +0000 (22:39 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:55 +0000 (22:49 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/photos.php

index 6fc546454dcf49b09b9c3c79bb1c7f147524e2f5..c919527da2d4d2c6f54f68c480f94a9ca0801249 100644 (file)
@@ -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;