fixed bug in customer_create method

This commit is contained in:
dkorol 2016-09-05 12:16:37 +03:00
parent 54e8807c2c
commit 43a8304aa9

View File

@ -102,7 +102,7 @@ class ControllerModuleRetailcrm extends Controller
* *
* @return void * @return void
*/ */
public function customer_create($parameter1, $parameter2) { public function customer_create($parameter1, $parameter2 = null) {
if($parameter2 != null) if($parameter2 != null)
$customerId = $parameter2; $customerId = $parameter2;
else else