aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile_photo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-15 17:23:02 -0800
committerfriendica <info@friendica.com>2013-02-15 17:23:02 -0800
commitc42936e2652a0d0f422afb2b7157b03aa0f2eaf6 (patch)
tree0750366302f2e3ba38ace246c1ff09d4e0d0d376 /mod/profile_photo.php
parentc66c168d1c372ebc953a0dc0b52c3e4b5feda722 (diff)
downloadvolse-hubzilla-c42936e2652a0d0f422afb2b7157b03aa0f2eaf6.tar.gz
volse-hubzilla-c42936e2652a0d0f422afb2b7157b03aa0f2eaf6.tar.bz2
volse-hubzilla-c42936e2652a0d0f422afb2b7157b03aa0f2eaf6.zip
we don't need to quote or rename 'default' in mySQL if we just use the original column name 'is_default'
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 7b29b3635..ea7a01bc9 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -256,7 +256,7 @@ function profile_photo_content(&$a) {
profile_photo_crop_ui_head($a, $ph);
}
- $profiles = q("select id, profile_name as name, is_default as pdefault from profile where uid = %d",
+ $profiles = q("select id, profile_name as name, is_default from profile where uid = %d",
intval(local_user())
);