aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 052f3c185..35b03845d 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -46,11 +46,10 @@ function photos_init(&$a) {
function photos_post(&$a) {
- if(! local_user()) {
- notice( t('Permission denied.') . EOL );
- killme();
- }
-
+ if(! local_user()) {
+ notice( t('Permission denied.') . EOL );
+ killme();
+ }
$r = q("SELECT `contact`.* `user`.`nickname` FROM `contact` LEFT JOIN `user` ON `user`.`uid` = `contact`.`uid`