Skip to content

Commit

Permalink
Merge branch 'oakey-b1-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 30, 2015
2 parents 411a4db + 067f0fc commit 6729f1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions whups/lib/Api.php
Expand Up @@ -177,10 +177,7 @@ public function addTicket($ticket_info)

// More checks if we're assigning the ticket at create-time.
if ($GLOBALS['registry']->getAuth() && $whups_driver->isCategory('assigned', $vars->get('state'))) {
$form4 = new Whups_Form_Ticket_CreateStep4Form($vars);
}
if ($GLOBALS['registry']->getAuth() && $whups_driver->isCategory('assigned', $vars->get('state'))) {
$form4 = new Whups_Form_Ticket_CreateStep4Form($vars);
$form4 = new Whups_Form_Ticket_CreateStepFour($vars);
$form4->useToken(false);
if (!$form4->validate($vars, true)) {
throw new Whups_Exception('Invalid arguments (' . var_export($form4->getErrors(), true) . ')');
Expand Down

0 comments on commit 6729f1b

Please sign in to comment.