Get all listeners

This commit is contained in:
M.Dent 2019-02-11 20:24:17 -05:00
parent f52a532771
commit cbf6d53e84

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 {
);
}
}
}