From 150b5fb0e05875574e2766c4fac324e815909e02 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 23 Jan 2007 16:33:15 +0000 Subject: [PATCH] $form is an object (from data_submitted). --- auth/db/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/db/auth.php b/auth/db/auth.php index 06ba17eadb..7714725605 100644 --- a/auth/db/auth.php +++ b/auth/db/auth.php @@ -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'); } -- 2.39.5