aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2019-02-11 20:24:17 -0500
committerM.Dent <dentm42@dm42.net>2019-02-11 20:24:17 -0500
commitcbf6d53e8464d91eeef89b884398a15da9d72e8f (patch)
treeb4b81de2403e8e7573244666b8c9ac3dc0ab5187
parentf52a53277141a67b7310656a437f1dd1ef8091f1 (diff)
downloadvolse-hubzilla-cbf6d53e8464d91eeef89b884398a15da9d72e8f.tar.gz
volse-hubzilla-cbf6d53e8464d91eeef89b884398a15da9d72e8f.tar.bz2
volse-hubzilla-cbf6d53e8464d91eeef89b884398a15da9d72e8f.zip
Get all listeners
-rw-r--r--Zotlabs/Lib/ThreadListener.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadListener.php b/Zotlabs/Lib/ThreadListener.php
index ad682aac8..308e02255 100644
--- a/Zotlabs/Lib/ThreadListener.php
+++ b/Zotlabs/Lib/ThreadListener.php
@@ -28,7 +28,7 @@ class ThreadListener {
}
static public function fetch_by_target($target_id,$ltype = 0) {
- $x = q("select * from listeners where target_id = '%s' and ltype = %d limit 1",
+ $x = q("select * from listeners where target_id = '%s' and ltype = %d",
dbesc($target_id),
intval($ltype)
);
@@ -50,4 +50,4 @@ class ThreadListener {
);
}
-} \ No newline at end of file
+}