--- modules/user.module 5 Aug 2005 01:18:39 -0000 1.498 +++ modules/user.module 6 Aug 2005 18:12:45 -0000 @@ -193,12 +193,13 @@ } // Save distributed authentication mappings + $authmaps = array(); foreach ($array as $key => $value) { if (substr($key, 0, 4) == 'auth') { $authmaps[$key] = $value; } } - if ($authmaps) { + if (sizeof($authmaps) > 0) { user_set_authmaps($user, $authmaps); }