Fixed showing orders with not required termination
This commit is contained in:
@@ -131,7 +131,7 @@ class OrderController extends mfBaseController {
|
||||
$attribs = $p->product->attributes;
|
||||
if(is_array($attribs) && count($attribs)
|
||||
&& array_key_exists(TT_ATTRIB_TERMINATION_REQUIRED_NAME, $attribs)
|
||||
&& $$attribs[TT_ATTRIB_TERMINATION_REQUIRED_NAME]->value == 0) {
|
||||
&& $attribs[TT_ATTRIB_TERMINATION_REQUIRED_NAME]->value == 0) {
|
||||
$this->log->debug("found additional order where termination_required 0");
|
||||
$lonelyOrders[$order->id] = $order;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user