Fix error displaying on installation pages

This commit is contained in:
Dmitriy Simushev 2014-07-23 12:31:59 +00:00
parent 6a1ac9ada4
commit c4592d242a

View File

@ -92,7 +92,7 @@ class InstallController extends AbstractController
if (!$installer->checkRequirements()) {
return $this->renderError(
'install_err',
array('error' => $installer->getErrors())
array('errors' => $installer->getErrors())
);
}
@ -125,7 +125,7 @@ class InstallController extends AbstractController
if (!$installer->checkConnection()) {
return $this->renderError(
'install_err',
array('error' => $installer->getErrors())
array('errors' => $installer->getErrors())
);
}
@ -158,7 +158,7 @@ class InstallController extends AbstractController
if (!$installer->createTables()) {
return $this->renderError(
'install_err',
array('error' => $installer->getErrors())
array('errors' => $installer->getErrors())
);
}