MDL-20948 reverting previous commit, wrong branch!

This commit is contained in:
Petr Skoda
2009-11-24 14:50:40 +00:00
parent f8915b7b86
commit f133092053
+1 -1
View File
@@ -29,7 +29,7 @@ if ($confirm and confirm_sesskey()) {
if (!$auth = get_auth_plugin($authname)) {
continue;
}
if ($auth->is_internal() and $auth->can_change_password()) {
if (@$auth->is_internal() and @$auth->can_change_password()) { // plugins may not be configured yet, not nice :-(
$changeable[$authname] = true;
}
}