Unverified Commit 1add9e36 authored by Viral Solani's avatar Viral Solani Committed by GitHub

Merge pull request #187 from viralsolani/analysis-q1edRP

Apply fixes from StyleCI
parents be69311f 4ce3fdde
......@@ -142,8 +142,8 @@ class UserRepository extends BaseRepository
DB::transaction(function () use ($user, $data, $roles, $permissions) {
if ($user->update($data)) {
$user->status = isset($data['status']) && $data['status'] == "1" ? 1 : 0;
$user->confirmed = isset($data['confirmed']) && $data['confirmed'] == "1" ? 1 : 0;
$user->status = isset($data['status']) && $data['status'] == '1' ? 1 : 0;
$user->confirmed = isset($data['confirmed']) && $data['confirmed'] == '1' ? 1 : 0;
$user->save();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment