fix php 8 warning
authorAlan <alan@roojs.com>
Thu, 9 Dec 2021 06:12:18 +0000 (14:12 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Dec 2021 06:12:18 +0000 (14:12 +0800)
DB/mysql.php

index e5be9d5..e0501af 100644 (file)
@@ -784,7 +784,7 @@ class DB_mysql extends DB_common
     /**
      * @deprecated  Deprecated in release 1.6.0
      */
-    function quote($str)
+    function quote($str = null)
     {
         return $this->quoteSmart($str);
     }