added title attribute to action button

This commit is contained in:
huangjx
2021-10-07 10:40:54 +08:00
parent 74a905e37f
commit e8534e4f70
2 changed files with 6 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ class DBConn
public function updateStatus($gid, $status = 1)
{
$query = $this->queryBuilder;
$query->update('ncdownloader_info')
$query->update($this->table)
->set("status", $query->createNamedParameter($status))
->where('gid = :gid')
->setParameter('gid', $gid);