Skip to content
Browse files

auth/cas: fixed a syntax error casting -- credits to Nigel McNie

  • Loading branch information...
1 parent 01ac9a3 commit d6c2c60294df403c955c52059977c712e89880ef martinlanghoff committed Dec 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/cas/lib.php
View
2 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();

0 comments on commit d6c2c60

Please sign in to comment.
Something went wrong with that request. Please try again.