From eac29badb2fade43dfe3fd6373ffc675858143dd Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 30 Aug 2012 18:17:38 -0700 Subject: start on contacts/profiles --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/api.php') 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()) ); -- cgit v1.2.3