Skip to content

Commit

Permalink
Create customer to user issue solved..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Mar 4, 2020
1 parent 5761fbe commit 0dea125
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Jobs/Common/CreateContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct($request)
*/
public function handle()
{
if (!empty($this->request->input('create_user'))) {
if ($this->request->get('create_user', 'false') === 'true') {
$this->createUser();
}

Expand Down
2 changes: 1 addition & 1 deletion app/Jobs/Common/UpdateContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function handle()
{
$this->authorize();

if (!empty($this->request->input('create_user'))) {
if ($this->request->get('create_user', 'false') === 'true') {
$this->createUser();
}

Expand Down

0 comments on commit 0dea125

Please sign in to comment.