diff --git a/src/applications/project/controller/profileedit/PhabricatorProjectProfileEditController.php b/src/applications/project/controller/profileedit/PhabricatorProjectProfileEditController.php index 149d762185..795d0c181c 100644 --- a/src/applications/project/controller/profileedit/PhabricatorProjectProfileEditController.php +++ b/src/applications/project/controller/profileedit/PhabricatorProjectProfileEditController.php @@ -269,7 +269,14 @@ final class PhabricatorProjectProfileEditController 'mustcapture' => true, ), 'Add New Resource')) - ->addHiddenInput('resources', 'resources') + ->appendChild( + phutil_render_tag( + 'input', + array( + 'type' => 'hidden', + 'name' => 'resources', + 'id' => 'resources', + ))) ->setContent(javelin_render_tag( 'table', array( diff --git a/src/applications/project/controller/profileedit/__init__.php b/src/applications/project/controller/profileedit/__init__.php index ee9bc895ff..68e66c0fad 100644 --- a/src/applications/project/controller/profileedit/__init__.php +++ b/src/applications/project/controller/profileedit/__init__.php @@ -34,6 +34,7 @@ phutil_require_module('phabricator', 'view/form/error'); phutil_require_module('phabricator', 'view/form/inset'); phutil_require_module('phabricator', 'view/layout/panel'); +phutil_require_module('phutil', 'markup'); phutil_require_module('phutil', 'utils');