Add default value false to checking for new customer. #367
This commit is contained in:
parent
c4da604ac8
commit
d61d82b6e7
1 changed files with 2 additions and 2 deletions
|
|
@ -436,7 +436,7 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
|
|||
}
|
||||
|
||||
// check if new customer
|
||||
if ($req->request->get('new_customer'))
|
||||
if ($req->request->get('new_customer', false))
|
||||
{
|
||||
if (empty($req->request->get('customer_customer_notes')))
|
||||
{
|
||||
|
|
@ -2455,7 +2455,7 @@ class CMBJobOrderHandler implements JobOrderHandlerInterface
|
|||
}
|
||||
|
||||
// check if new customer
|
||||
if ($req->request->get('new_customer'))
|
||||
if ($req->request->get('new_customer', false))
|
||||
{
|
||||
if (empty($req->request->get('customer_customer_notes')))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue