Commit 4d590cff authored by Dries's avatar Dries

- Patch #715132 by moshe weitzman: over aggressive escaping of table names.

parent 9b4274e8
...@@ -831,7 +831,7 @@ public function schema() { ...@@ -831,7 +831,7 @@ public function schema() {
* The sanitized table name string. * The sanitized table name string.
*/ */
public function escapeTable($table) { public function escapeTable($table) {
return preg_replace('/[^A-Za-z0-9_]+/', '', $table); return preg_replace('/[^A-Za-z0-9_.]+/', '', $table);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment