diff options
author | friendica <info@friendica.com> | 2012-08-27 01:22:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-27 01:22:08 -0700 |
commit | 8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a (patch) | |
tree | 4460c2cd50449448f25be78d543df9333ac1fe07 /mod/profile_photo.php | |
parent | 5ff6e9348b41bc87b03bafc4d9df73b383af074e (diff) | |
download | volse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.tar.gz volse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.tar.bz2 volse-hubzilla-8c3c3d5fd7acc5df0aec9c10f8bdd89bedd2060a.zip |
stuff
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()) ); |