Merge branch 'fix-20190211a' into 'dev'

Get all listeners

See merge request hubzilla/core!1508
This commit is contained in:
Mario 2019-02-12 08:45:48 +01:00
commit 7db645587b

View File

@ -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)
);