global missing ?

drico - October 15, 2009 - 14:18
Project:CAS
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

I think that

function cas_logout() {
  global $user;

should be changed to :
function cas_logout() {
  global $user, $base_url;

to have that below working :
    if (empty($destination)) {
      $destination = $base_url;
    }

 
 

Drupal is a registered trademark of Dries Buytaert.