aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-12-07 23:29:23 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-12-07 23:29:23 +0100
commit10d5f0eed7d3708ca5a33f426baddfdfc138ba4f (patch)
tree98e4fb1a2d20369e284b8b3b10df313a864e4620 /include
parent406e97c9ad76975011f639a415b8139352cb23da (diff)
downloadvolse-hubzilla-10d5f0eed7d3708ca5a33f426baddfdfc138ba4f.tar.gz
volse-hubzilla-10d5f0eed7d3708ca5a33f426baddfdfc138ba4f.tar.bz2
volse-hubzilla-10d5f0eed7d3708ca5a33f426baddfdfc138ba4f.zip
small change
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)