mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
Initialize $assign_phid
properly in the "!assign" email action
Summary: If you `!assign cahd` when you meant to `!assign chad`, we'll hit an "Undefined variable: assign_phid" a little further down. Test Plan: Eyeballed it. See IRC. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14291
This commit is contained in:
parent
4b43667086
commit
cdd5e3f7dd
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ final class ManiphestAssignEmailCommand
|
||||||
array $argv) {
|
array $argv) {
|
||||||
$xactions = array();
|
$xactions = array();
|
||||||
|
|
||||||
|
$assign_phid = null;
|
||||||
|
|
||||||
$assign_to = head($argv);
|
$assign_to = head($argv);
|
||||||
if ($assign_to) {
|
if ($assign_to) {
|
||||||
|
|
Loading…
Reference in a new issue