+ [bug#58586] fix bug for fetchall method.

This commit is contained in:
liyang
2024-12-25 10:49:40 +08:00
committed by 曹延义
parent 5ae05ea51f
commit 86ac2e9cd7
+1 -1
View File
@@ -772,7 +772,7 @@ class repoModel extends model
*/
public function getByIdList(array $idList): array
{
$repos = $this->dao->select('*')->from(TABLE_REPO)->where('deleted')->eq(0)->andWhere('id')->in($idList)->fetchAll('id');
$repos = $this->dao->select('*')->from(TABLE_REPO)->where('deleted')->eq(0)->andWhere('id')->in($idList)->fetchAll('id', false);
foreach($repos as $repo)
{
if($repo->encrypt == 'base64') $repo->password = base64_decode($repo->password);