Skip to content
Snippets Groups Projects
Unverified Commit 60ee555b authored by Andreas Gohr's avatar Andreas Gohr Committed by GitHub
Browse files

Merge pull request #9 from OctopusET/fix-assignments

Fix wrong variable assignments in action.php
parents 602a0fb6 7c8a6248
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,8 @@ class action_plugin_oauthgeneric extends Adapter
// type fixes
if (is_array($user)) $user = array_shift($user);
if (is_array($name)) $user = array_shift($name);
if (is_array($mail)) $user = array_shift($mail);
if (is_array($name)) $name = array_shift($name);
if (is_array($mail)) $mail = array_shift($mail);
if (!is_array($grps)) {
$grps = explode(',', $grps);
$grps = array_map('trim', $grps);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment