Merge pull request #15 from DmitryKorol/master

fixed bug in customer_create method
This commit is contained in:
Alex Lushpai 2016-09-07 15:30:05 +03:00 committed by GitHub
commit b4c386b069

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