aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_request.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-07 03:15:52 -0800
committerFriendika <info@friendika.com>2011-01-07 03:15:52 -0800
commit0147520e903789aba3802a306b9f6b14326b486f (patch)
tree9ba1d7cb09d4dd2ba3586147af8b9062413d5019 /mod/dfrn_request.php
parent65989470495ef1f45387bdec9779cf644f9a028c (diff)
downloadvolse-hubzilla-0147520e903789aba3802a306b9f6b14326b486f.tar.gz
volse-hubzilla-0147520e903789aba3802a306b9f6b14326b486f.tar.bz2
volse-hubzilla-0147520e903789aba3802a306b9f6b14326b486f.zip
add contact edit hooks
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r--mod/dfrn_request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index d5c5b83d5..6850f4be4 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -256,7 +256,7 @@ function dfrn_request_post(&$a) {
FROM `intro` LEFT JOIN `contact` on `intro`.`contact-id` = `contact`.`id`
WHERE `intro`.`blocked` = 1 AND `contact`.`self` = 0 AND `intro`.`datetime` < UTC_TIMESTAMP() - INTERVAL 30 MINUTE ");
if(count($r)) {
- foreach($r as ($rr) {
+ foreach($r as $rr) {
if(! $rr['rel']) {
q("DELETE FROM `contact` WHERE `id` = %d LIMIT 1",
intval($rr['cid'])