diff options
author | friendica <info@friendica.com> | 2012-08-30 18:17:38 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-30 18:17:38 -0700 |
commit | eac29badb2fade43dfe3fd6373ffc675858143dd (patch) | |
tree | ecf3ec6007a22a755900c46a4bc1e4862cc08d06 /mod/profperm.php | |
parent | f6d198ce5dcd9fe416975ff760439dfacbb83812 (diff) | |
download | volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.tar.gz volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.tar.bz2 volse-hubzilla-eac29badb2fade43dfe3fd6373ffc675858143dd.zip |
start on contacts/profiles
Diffstat (limited to 'mod/profperm.php')
-rw-r--r-- | mod/profperm.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profperm.php b/mod/profperm.php index c7ab45324..d29581beb 100644 --- a/mod/profperm.php +++ b/mod/profperm.php @@ -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()) ); |