Commit 566a610d authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Allowing users to be updated if passed in as array (Bug #1319601)"

parents 18d1ad86 69401617
......@@ -429,6 +429,9 @@ class PluginArtefactFile extends PluginArtefact {
}
else if ('updateuser' === $event) {
$userid = $eventdata;
if (is_array($userid)) {
$userid = reset($userid);
}
}
else if (is_array($eventdata)) {
foreach ($eventdata as $artefactid) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment