aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profperm.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-30 18:17:38 -0700
committerfriendica <info@friendica.com>2012-08-30 18:17:38 -0700
commiteac29badb2fade43dfe3fd6373ffc675858143dd (patch)
treeecf3ec6007a22a755900c46a4bc1e4862cc08d06 /mod/profperm.php
parentf6d198ce5dcd9fe416975ff760439dfacbb83812 (diff)
downloadvolse-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.php2
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())
);