diff options
author | Mario <mario@mariovavti.com> | 2019-02-12 08:45:48 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-02-12 08:45:48 +0100 |
commit | 7db645587b57c5dd94111cf59cbe410fee136fdf (patch) | |
tree | b4b81de2403e8e7573244666b8c9ac3dc0ab5187 | |
parent | f52a53277141a67b7310656a437f1dd1ef8091f1 (diff) | |
parent | cbf6d53e8464d91eeef89b884398a15da9d72e8f (diff) | |
download | volse-hubzilla-7db645587b57c5dd94111cf59cbe410fee136fdf.tar.gz volse-hubzilla-7db645587b57c5dd94111cf59cbe410fee136fdf.tar.bz2 volse-hubzilla-7db645587b57c5dd94111cf59cbe410fee136fdf.zip |
Merge branch 'fix-20190211a' into 'dev'
Get all listeners
See merge request hubzilla/core!1508
-rw-r--r-- | Zotlabs/Lib/ThreadListener.php | 4 |
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 +} |