mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
Return all listeners
This commit is contained in:
parent
880579f249
commit
fbd277b314
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
|||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue