Skip to content
Snippets Groups Projects
Commit 7c8a6248 authored by Moon Sungjoon's avatar Moon Sungjoon
Browse files

action.php: Fix wrong variable assignments

parent 602a0fb6
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