diff options
Diffstat (limited to 'include/api.php')
-rw-r--r-- | include/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/api.php b/include/api.php index 296fba1a7..b63ae0fee 100644 --- a/include/api.php +++ b/include/api.php @@ -261,7 +261,7 @@ $usr = q("select * from user where uid = %d limit 1", intval(local_user()) ); - $profile = q("select * from profile where uid = %d and `is-default` = 1 limit 1", + $profile = q("select * from profile where uid = %d and `is_default` = 1 limit 1", intval(local_user()) ); |