diff options
Diffstat (limited to 'Zotlabs/Lib')
-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 +} |