$form is an object (from data_submitted).

This commit is contained in:
stronk7 2007-01-23 16:33:15 +00:00
parent 2cf089c94f
commit 150b5fb0e0

View File

@ -470,7 +470,7 @@ class auth_plugin_db {
// A chance to validate form data, and last chance to
// do stuff before it is inserted in config_plugin
function validate_form(&$form, &$err) {
if ($form['passtype'] === 'internal') {
if ($form->passtype === 'internal') {
$this->config->changepasswordurl = '';
set_config('changepasswordurl', '', 'auth/db');
}