🆙 Fix missing transolations 🆙

This commit is contained in:
Remco
2026-02-02 20:03:56 +01:00
parent 883cbbbfeb
commit 487203436b
20 changed files with 57 additions and 14 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ if (! function_exists('findMigration')) {
foreach (glob(database_path('migrations/*.php')) as $filename) {
// Check if the migration file has the Schema::create() line with the given table name
$content = file_get_contents($filename);
if (preg_match("/Schema::create\\(['\"]".preg_quote($tableName, '/')."['\"]/", $content)) {
if (preg_match("/Schema::create\\(['\"]" . preg_quote($tableName, '/') . "['\"]/", $content)) {
return basename($filename, '.php');
}
}