Skip to content

Commit 229e440

Browse files
authored
Merge pull request #1233 from titounnes/patch-3
typo in unset
2 parents f44b819 + 82a968c commit 229e440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/database/model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ must return the original $data array so other callbacks have the full informatio
591591
if (! isset($data['data']['password']) return $data;
592592

593593
$data['data']['password_hash'] = password_hash($data['data']['password'], PASSWORD_DEFAULT);
594-
unse($data['data']['password'];
594+
unset($data['data']['password'];
595595

596596
return $data;
597597
}

0 commit comments

Comments
 (0)