}
- function importFromArray($roo, $persons, $prefix)
+ function importFromArray($roo, $persons, $opts)
{
+ if (empty($opts['prefix'])) {
+ $roo->jerr("opts[prefix] is empty - you can not just create passwords based on the user names");
+ }
+
if (!is_array($persons) || empty($persons)) {
$roo->jerr("error in the person data. - empty on not valid");
}