Fix error when using php 5.4

1.10.x
Julio Montoya 11 years ago
parent 0a68d4952f
commit 8d01f3255f
  1. 2
      main/inc/lib/database.lib.php

@ -117,7 +117,7 @@ class Database
*
* @throws \Doctrine\ORM\ORMException
*/
public function connect($params = [], $sysPath = '', $entityRootPath = '')
public function connect($params = array(), $sysPath = '', $entityRootPath = '')
{
$config = self::getDoctrineConfig($entityRootPath);

Loading…
Cancel
Save