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 . ' */' : ''; }