Return all listeners

This commit is contained in:
DM42 - Usezot 2019-02-11 21:25:38 -05:00 committed by DM42.Net (Matt Dent)
parent 880579f249
commit fbd277b314

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)
);
@ -50,4 +50,4 @@ class ThreadListener {
);
}
}
}