Quote Originally Posted by swguy View Post
Right before the insert, do something like this:

Code:
if ($customer_notified === '') { 
   $customer_notified = -1;
}

Thanks for this SWGuy

I've taken a wild guess after searching via the developer tools at where to put this and have inserted it in:
\admin\orders.php at line 175

That makes it look like this:


Code:
  

		  if ($customer_notified === '') { 
		  $customer_notified = -1;
		  }

          $db->Execute("insert into " . TABLE_ORDERS_STATUS_HISTORY . "
                      (orders_id, orders_status_id, date_added, customer_notified, comments)
                      values ('" . (int)$oID . "',
                      '" . zen_db_input($status) . "',
                      now(),
                      '" . zen_db_input($customer_notified) . "',
                      '" . zen_db_input($comments)  . "')");
          $order_updated = true;
        }

Does that look about right?

Thanks for a look!
Regards
Rob