mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-28 06:57:22 +08:00
backup export path configurable + fix some warning
This commit is contained in:
@@ -19,6 +19,9 @@ class Torrent
|
||||
*/
|
||||
public function listLeechingSeedingStatus(int $uid, array $torrentIdArr)
|
||||
{
|
||||
if (empty($torrentIdArr)) {
|
||||
return [];
|
||||
}
|
||||
$torrentIdStr = implode(',', $torrentIdArr);
|
||||
//seeding or leeching, from peers
|
||||
$whereStr = sprintf("userid = %s and torrent in (%s)", sqlesc($uid), $torrentIdStr);
|
||||
|
||||
Reference in New Issue
Block a user