Update Service.php

This commit is contained in:
Mr. Timothy G Webb Sr authored and GitHub committed 2020-11-27 23:46:47 -05:00
1 parent 8dce1b1e8e
commit 307c16cebf
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ class Service implements InjectionAwareInterface
$orderService = $this->di['mod_service']('order');
$model = $orderService->getOrderService($order);
if(!$model instanceof \RedBean_SimpleModel) {
throw new \Box_Exception('Could not activate order. Service was not created');
throw new \Box_Exception('Order :id has no active service', array(':id'=>$order->id));
}
$pass = $this->di['tools']->generatePassword(10, 4);