diff --git a/src/Database/Schema/SqliteSchema.php b/src/Database/Schema/SqliteSchema.php index 838547112c3..cc04b4f62c7 100644 --- a/src/Database/Schema/SqliteSchema.php +++ b/src/Database/Schema/SqliteSchema.php @@ -177,7 +177,7 @@ protected function _defaultValue($default) } // Remove quotes - if (preg_match("/^'(.*)'$/", (string)$default, $matches)) { + if (preg_match("/^'(.*)'$/", $default, $matches)) { return str_replace("''", "'", $matches[1]); }