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/dfrn_confirm.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/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index eef80f8dd..7002b870f 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -424,11 +424,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) { // Send a new friend post if we are allowed to... - $r = q("SELECT `hide-friends` FROM `profile` WHERE `uid` = %d AND `is-default` = 1 LIMIT 1", + $r = q("SELECT `hide_friends` FROM `profile` WHERE `uid` = %d AND `is_default` = 1 LIMIT 1", intval($uid) ); - if((count($r)) && ($r[0]['hide-friends'] == 0) && ($activity) && (! $hidden)) { + if((count($r)) && ($r[0]['hide_friends'] == 0) && ($activity) && (! $hidden)) { require_once('include/items.php'); @@ -745,11 +745,11 @@ function dfrn_confirm_post(&$a,$handsfree = null) { // Send a new friend post if we are allowed to... if($page && intval(get_pconfig($local_uid,'system','post_joingroup'))) { - $r = q("SELECT `hide-friends` FROM `profile` WHERE `uid` = %d AND `is-default` = 1 LIMIT 1", + $r = q("SELECT `hide_friends` FROM `profile` WHERE `uid` = %d AND `is_default` = 1 LIMIT 1", intval($local_uid) ); - if((count($r)) && ($r[0]['hide-friends'] == 0)) { + if((count($r)) && ($r[0]['hide_friends'] == 0)) { require_once('include/items.php'); |