Skip to content

Commit

Permalink
Merge pull request #1233 from titounnes/patch-3
Browse files Browse the repository at this point in the history
typo in unset
  • Loading branch information
lonnieezell committed Sep 24, 2018
2 parents f44b819 + 82a968c commit 229e440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user_guide_src/source/database/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ must return the original $data array so other callbacks have the full informatio
if (! isset($data['data']['password']) return $data;

$data['data']['password_hash'] = password_hash($data['data']['password'], PASSWORD_DEFAULT);
unse($data['data']['password'];
unset($data['data']['password'];

return $data;
}
Expand Down

0 comments on commit 229e440

Please sign in to comment.