From d6c2c60294df403c955c52059977c712e89880ef Mon Sep 17 00:00:00 2001 From: martinlanghoff Date: Mon, 12 Dec 2005 03:21:11 +0000 Subject: [PATCH] auth/cas: fixed a syntax error casting -- credits to Nigel McNie --- auth/cas/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/cas/lib.php b/auth/cas/lib.php index ff348ae0b68..c6b1fa48083 100644 --- a/auth/cas/lib.php +++ b/auth/cas/lib.php @@ -136,7 +136,7 @@ function cas_automatic_authenticate ($user="") { global $CFG; if (!$cas_validate){ $cas_validate=true; - phpCAS::client($CFG->cas_version,$CFG->cas_hostname,(Integer)$CFG->cas_port,$CFG->cas_baseuri); + phpCAS::client($CFG->cas_version,$CFG->cas_hostname,(int)$CFG->cas_port,$CFG->cas_baseuri); phpCAS::setLang($CFG->cas_language); if (!phpCAS::isAuthenticated() && !$CFG->guestloginbutton){ phpCAS::authenticateIfNeeded();