diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-13 22:01:23 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-13 22:01:23 -0700 |
commit | d96ae0f9f59711112801d478abba7f7120ec0ad3 (patch) | |
tree | 1d5699498fc52c205f6b858e3acc2e916b2a5ad3 /mod/photos.php | |
parent | bf77043b5137dcfe2d59a49d300e01be3e6e3674 (diff) | |
download | volse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.tar.gz volse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.tar.bz2 volse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.zip |
can no longer avoid recording the curl response code
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 9 |
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` |