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 --- mod/dfrn_confirm.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/dfrn_confirm.php') 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'); -- cgit v1.2.3