diff --git a/auth/radius/auth.php b/auth/radius/auth.php index 5795978c4ba..5897b01b37e 100644 --- a/auth/radius/auth.php +++ b/auth/radius/auth.php @@ -105,7 +105,7 @@ class auth_plugin_radius extends auth_plugin_base { } $result = $rauth->send(); - if (PEAR::isError($result)) { + if ($rauth->isError($result)) { printf("Radius send failed: %s
\n", $result->getMessage()); exit; } else if ($result === true) {