aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-05 18:17:16 -0800
committerfriendica <info@friendica.com>2013-12-05 18:17:16 -0800
commit38577cf26cc241245731f786704ac773bfc52952 (patch)
treeda86e71b04e884267543a8c039efb40e8ca0edac /mod/profile_photo.php
parent539988b62f20d73f097ee24d5a7fb6d23fa9fd4d (diff)
downloadvolse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.tar.gz
volse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.tar.bz2
volse-hubzilla-38577cf26cc241245731f786704ac773bfc52952.zip
issue #225
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r--mod/profile_photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index f8eda43cf..7893cc302 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -42,7 +42,7 @@ function profile_photo_post(&$a) {
intval($_REQUEST['profile']),
intval(local_user())
);
- if(count($r) && (! intval($r[0]['is_default'])))
+ if(($r) && (! intval($r[0]['is_default'])))
$is_default_profile = 0;
}