From 79a096b877cda64eabc972fbd8273e7652918c21 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 21 Aug 2018 12:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3parseComment=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Builder.php b/library/think/db/Builder.php index c39ed945..becd3e96 100644 --- a/library/think/db/Builder.php +++ b/library/think/db/Builder.php @@ -628,7 +628,7 @@ abstract class Builder protected function parseComment($comment) { if (false !== strpos($comment, '*/')) { - $comment = strstr($coment, '*/', true); + $comment = strstr($comment, '*/', true); } return !empty($comment) ? ' /* ' . $comment . ' */' : ''; }