Author: jfthomps Date: Thu Mar 15 18:59:29 2012 New Revision: 1301148 URL: http://svn.apache.org/viewvc?rev=1301148&view=rev Log: modified to handle array returned by updateShibUser instead of just the user's id
Modified: incubator/vcl/trunk/web/shibauth/index.php Modified: incubator/vcl/trunk/web/shibauth/index.php URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/shibauth/index.php?rev=1301148&r1=1301147&r2=1301148&view=diff ============================================================================== --- incubator/vcl/trunk/web/shibauth/index.php (original) +++ incubator/vcl/trunk/web/shibauth/index.php Thu Mar 15 18:59:29 2012 @@ -179,8 +179,10 @@ if($row['shibonly']) { } else { $usernid = getUserlistID($userid, 1); - if(is_null($usernid)) - $usernid = updateShibUser($userid); + if(is_null($usernid)) { + $tmp = updateShibUser($userid); + $usernid = $tmp['id']; + } } $affilid = getAffiliationID($affil);