Skip to content

Commit

Permalink
Merge pull request #9 from OctopusET/fix-assignments
Browse files Browse the repository at this point in the history
Fix wrong variable assignments in action.php
  • Loading branch information
splitbrain committed Dec 13, 2023
2 parents 602a0fb + 7c8a624 commit 60ee555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.php
Expand Up @@ -36,8 +36,8 @@ public function getUser()

// 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);
Expand Down

0 comments on commit 60ee555

Please sign in to comment.