Fix #12423 Fix bug migration tool when creating fields with brackets in comment

This commit is contained in:
Daniel Gomez Pan
2016-09-11 18:03:09 +02:00
parent 9f71bf400e
commit ae42d7b281
4 changed files with 5 additions and 2 deletions

View File

@ -351,7 +351,7 @@ class MigrateController extends BaseMigrateController
continue;
}
if (!preg_match('/^(.+?)\(([^)]+)\)$/', $chunk)) {
if (!preg_match('/^(.+?)\(([^(]+)\)$/', $chunk)) {
$chunk .= '()';
}
}