1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Suppressed php undefined variable notice adding initialization code to Doctrine\ORM\Mapping\Driver\DatabaseDriver.php

This commit is contained in:
Johannes Heinen 2011-06-20 19:07:03 +02:00
parent fff0204e6d
commit c05fffcc93

View File

@ -110,6 +110,8 @@ class DatabaseDriver implements Driver
return;
}
$tables = array();
foreach ($this->_sm->listTableNames() as $tableName) {
$tables[$tableName] = $this->_sm->listTableDetails($tableName);
}