aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Contact.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Contact.php b/include/Contact.php
index 9a3b91dc4..4fd43db44 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -336,7 +336,7 @@ function channel_remove($channel_id, $local = true, $unset_session=true) {
}
//remove from file system
- $r = q("select channel_address from channel where channel_id = %d",
+ $r = q("select channel_address from channel where channel_id = %d limit 1",
intval($channel_id)
);
if($r)