diff options
Diffstat (limited to 'mod/profile_photo.php')
-rw-r--r-- | mod/profile_photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 97e861bdd..1285bf08e 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -225,7 +225,7 @@ function profile_photo_content(&$a) { // go ahead as we have jus uploaded a new photo to crop } - $profiles = q("select `id`,`profile-name` as `name`,`is-default` as `default` from profile where uid = %d", + $profiles = q("select `id`,`profile_name` as `name`,`is-default` as `default` from profile where uid = %d", intval(local_user()) ); |