@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Countdown] fix undefined variable errors

Summary:
I was trying out the "Countdown" addon and noticed this undefined variable error.

##[Wed Feb 05 03:28:02 2014] [error] [client 97.88.250.50] #0 PhutilErrorHandler::handleError(8, Undefined variable: errors, /phabricator/src/applications/countdown/controller/PhabricatorCountdownEditController.php, 132, Array of size 12 starting with: { request => Object AphrontRequest }) called at [/phabricator/src/applications/countdown/controller/PhabricatorCountdownEditController.php:132], referer: http://phabricator.eatstreet.com/countdown/##

Test Plan:
http://phabricator.eatstreet.com/countdown/edit/

No error

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8143

authored by

Alex and committed by
epriestley
ad81700b 9be4df02

+1 -1
+1 -1
src/applications/countdown/controller/PhabricatorCountdownEditController.php
··· 38 38 $e_text = true; 39 39 $e_epoch = null; 40 40 41 + $errors = array(); 41 42 if ($request->isFormPost()) { 42 - $errors = array(); 43 43 $title = $request->getStr('title'); 44 44 $epoch = $request->getStr('epoch'); 45 45 $view_policy = $request->getStr('viewPolicy');