Update usermanager.lib.php

Silent error (wrong implementation) of sms plugin (fixed in 1.10)
1.9.x
Julio 11 years ago
parent f206ef495c
commit 6a551878ab
  1. 2
      main/inc/lib/usermanager.lib.php

@ -210,7 +210,7 @@ class UserManager
$phoneNumber = isset($extra['mobile_phone_number']) ? $extra['mobile_phone_number'] : null;
$plugin = new AppPlugin();
$additionalParameters = array(
'smsType' => constant($plugin->getSMSPluginName().'::WELCOME_LOGIN_PASSWORD'),
'smsType' => @constant($plugin->getSMSPluginName().'::WELCOME_LOGIN_PASSWORD'),
'userId' => $return,
'mobilePhoneNumber' => $phoneNumber,
'password' => $original_password

Loading…
Cancel
Save