1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00

Fix InvalidArgumentException PHUIFormPageView::pageErrors

Summary: Argument 1 passed to PHUIObjectBoxView::setFormErrors() must be of
the type array, not null.

See: <https://github.com/facebook/phabricator/pull/482>

Reviewed by: epriestley
This commit is contained in:
Andrej E Baranov 2014-01-12 16:57:18 +07:00 committed by epriestley
parent 10ea1dd749
commit 03aecd63de

View file

@ -13,7 +13,7 @@ class PHUIFormPageView extends AphrontView {
private $isValid;
private $validateFormPageCallback;
private $adjustFormPageCallback;
private $pageErrors;
private $pageErrors = array();
private $pageName;