Commit 36851653 authored by Donal McMullan's avatar Donal McMullan
Browse files

Fixing 692 : upload users by csv is broken with authinstance = 0

parent c0460b75
...@@ -128,9 +128,13 @@ if (count($authinstances) > 1) { ...@@ -128,9 +128,13 @@ if (count($authinstances) > 1) {
); );
} }
else { else {
foreach ($authinstances as $authinstance) {
$string = $authinstance->id .'_'. $authinstance->name;
}
$authinstanceelement = array( $authinstanceelement = array(
'type' => 'hidden', 'type' => 'hidden',
'value' => '1' 'value' => $string
); );
} }
......
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