Skip to content
Snippets Groups Projects
Commit a3e4d1a2 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Gestion chaine vide

parent a27612e3
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ class Ddl implements \Iterator, \ArrayAccess
{
if (null === $positions) {
$colPosFile = $this->getColumnsPosFile();
if (file_exists($colPosFile)) {
if ($colPosFile && file_exists($colPosFile)) {
$positions = require $colPosFile;
if (!is_array($positions)){
throw new \exception('Le fichier des positions doit retourner un tableau PHP');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment