You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2012/03/15 19:59:29 UTC

svn commit: r1301148 - /incubator/vcl/trunk/web/shibauth/index.php

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);