From d96ae0f9f59711112801d478abba7f7120ec0ad3 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 13 Oct 2010 22:01:23 -0700 Subject: can no longer avoid recording the curl response code --- mod/photos.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'mod/photos.php') 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` -- cgit v1.2.3