mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-29 08:36:05 +03:00
Merge pull request #15 from DmitryKorol/master
fixed bug in customer_create method
This commit is contained in:
commit
b4c386b069
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user