From 370a93e3bc471c27431bf1283c666cf676973a3f Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 23 Dec 2025 03:34:23 +0000 Subject: [PATCH 1/2] * [bug#67724,done,0.2h] fix bug. --- module/convert/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/convert/model.php b/module/convert/model.php index 30af939585..09e2cb1dd9 100644 --- a/module/convert/model.php +++ b/module/convert/model.php @@ -65,8 +65,8 @@ class convertModel extends model public function dbExists(string $dbName = ''): object|false { if(!$this->checkDBName($dbName)) return false; - - return $this->dbh->execute('SHOW DATABASES like ?', array($dbName))->fetch(); + $quotedDbName = $this->dbh->quote($dbName); + return $this->dbh->query("SHOW DATABASES like {$quotedDbName}")->fetch(); } /** From b3c7b58005d4302c6dc656d72413790ac0c22858 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Tue, 23 Dec 2025 03:49:06 +0000 Subject: [PATCH 2/2] * [bug#67215,done,0.2h] fix bug. --- lib/zin/wg/datalist/v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/wg/datalist/v1.php b/lib/zin/wg/datalist/v1.php index 053e348dd3..95f7b80df0 100644 --- a/lib/zin/wg/datalist/v1.php +++ b/lib/zin/wg/datalist/v1.php @@ -58,7 +58,7 @@ class datalist extends wg ), div ( - setClass('datalist-item-content', $contentClass), + setClass('datalist-item-content whitespace-pre-wrap', $contentClass), $content, $children )