mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix undefined values in various modules
This commit is contained in:
parent
28de1335a7
commit
702eebaa92
6 changed files with 28 additions and 13 deletions
|
|
@ -1091,7 +1091,7 @@ class DocumentController extends Document
|
|||
}
|
||||
|
||||
// Hash the password if it exists
|
||||
if($obj->password)
|
||||
if (!empty($obj->password))
|
||||
{
|
||||
$obj->password = \Rhymix\Framework\Password::hashPassword($obj->password, \Rhymix\Framework\Password::getBackwardCompatibleAlgorithm());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue