[CORE][DB] Fix uses of db tables after previous restructure

This commit is contained in:
Hugo Sales
2020-08-13 01:23:22 +00:00
committed by Hugo Sales
parent 1111ee95f1
commit 8716d700a6
8 changed files with 38 additions and 31 deletions

View File

@@ -100,6 +100,9 @@ abstract class DB
$args[0] = '\App\Entity\\' . ucfirst(Formatting::snakeCaseToCamelCase($args[0]));
}
}
if (($args[0] ?? '') === '\App\Entity\Gsactor') {
$args[0] = '\App\Entity\GSActor';
}
return self::$em->{$name}(...$args);
}