start on contacts/profiles

This commit is contained in:
friendica
2012-08-30 18:17:38 -07:00
parent f6d198ce5d
commit eac29badb2
28 changed files with 102 additions and 104 deletions

View File

@@ -47,7 +47,7 @@ function profperm_content(&$a) {
if(($a->argc > 1) && (intval($a->argv[1]))) {
$r = q("SELECT * FROM `profile` WHERE `id` = %d AND `uid` = %d AND `is-default` = 0 LIMIT 1",
$r = q("SELECT * FROM `profile` WHERE `id` = %d AND `uid` = %d AND `is_default` = 0 LIMIT 1",
intval($a->argv[1]),
intval(local_user())
);