FIX object $user is not defined
This commit is contained in:
parent
992fe1286d
commit
5b81880b97
@ -2426,7 +2426,7 @@ class User extends CommonObject
|
||||
$url = $urlwithroot.'/user/passwordforgotten.php?action=validatenewpassword';
|
||||
$url .= '&username='.urlencode($this->login)."&passworduidhash=".urlencode(dol_hash($password.'-'.$this->id.'-'.$dolibarr_main_instance_unique_id));
|
||||
if (!empty($conf->multicompany->enabled)) {
|
||||
$url .= '&entity='.(!empty($user->entity) ? $user->entity : 1);
|
||||
$url .= '&entity='.(!empty($this->entity) ? $this->entity : 1);
|
||||
}
|
||||
|
||||
$msgishtml = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user