|
|
@@ -34,12 +34,12 @@ class PluginSinglesignonToolbox {
|
|
|
* @param array $query
|
|
|
* @return string
|
|
|
*/
|
|
|
- public static function getCallbackUrl($id, $query = []) {
|
|
|
+ public static function getCallbackUrl($row, $query = []) {
|
|
|
global $CFG_GLPI;
|
|
|
|
|
|
$url = $CFG_GLPI['root_doc'] . '/plugins/singlesignon/front/callback.php';
|
|
|
|
|
|
- $url .= "/provider/".$id;
|
|
|
+ $url .= "/provider/".$row['id'];
|
|
|
|
|
|
if (!empty($query)) {
|
|
|
$_SESSION['redirect'] = $query['redirect'];
|