Minor improvements/fixes.
[shipsimu.git] / application / shipsimu / main / companies / class_ShippingCompany.php
index de959b62f836e6f272d9de6d6e74e676a24994bf..cee5cccfdd74ff943349c98f9083d1592f1f46b0 100644 (file)
@@ -582,7 +582,7 @@ class ShippingCompany extends BaseSimulator implements Customer, ContractPartner
 
        // As a customer the shippng company can withdraw from a contract
        public function withdrawFromContract (SignableContract $contractInstance) {
-               ApplicationEntryPoint::app_die("WITHDRAW:<pre>".print_r($contractInstance, true)."</pre>");
+               ApplicationEntryPoint::app_exit("WITHDRAW:<pre>".print_r($contractInstance, true)."</pre>");
        }
 
        // Get latest added contract instance