Differential D14073 Diff 34742 src/applications/releeph/controller/product/ReleephProductEditController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/controller/product/ReleephProductEditController.php
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | public function handleRequest(AphrontRequest $request) { | ||||
| $repository_phid = $product->getRepositoryPHID(); | $repository_phid = $product->getRepositoryPHID(); | ||||
| if ($request->isFormPost()) { | if ($request->isFormPost()) { | ||||
| $pusher_phids = $request->getArr('pushers'); | $pusher_phids = $request->getArr('pushers'); | ||||
| if (!$product_name) { | if (!$product_name) { | ||||
| $e_name = pht('Required'); | $e_name = pht('Required'); | ||||
| $errors[] = | $errors[] = | ||||
| pht('Your releeph product should have a simple descriptive name.'); | pht('Your Releeph product should have a simple descriptive name.'); | ||||
| } | } | ||||
| if (!$trunk_branch) { | if (!$trunk_branch) { | ||||
| $e_trunk_branch = pht('Required'); | $e_trunk_branch = pht('Required'); | ||||
| $errors[] = | $errors[] = | ||||
| pht('You must specify which branch you will be picking from.'); | pht('You must specify which branch you will be picking from.'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 207 Lines • Show Last 20 Lines | |||||