From 3f97f093f7dc5ec239ec7e99ac096cc86cc758b2 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 1 Mar 2024 13:26:35 +0800 Subject: [PATCH] * Adjust dao query call name. --- module/upgrade/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 4ee3932ae0..9495b5f261 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -8566,7 +8566,7 @@ class upgradeModel extends model */ public function update1810(): void { - $fields = $this->dbo->query('DESC ' . TABLE_DEMANDPOOL)->fetchAll(); + $fields = $this->dao->query('DESC ' . TABLE_DEMANDPOOL)->fetchAll(); foreach($fields as $field) { if($field->Field == 'products') return; @@ -8586,7 +8586,7 @@ class upgradeModel extends model */ public function update18101(): void { - $fields = $this->dbo->query('DESC ' . TABLE_DEMAND)->fetchAll(); + $fields = $this->dao->query('DESC ' . TABLE_DEMAND)->fetchAll(); foreach($fields as $field) { if($field->Field == 'feedback') return;