On 12.10.2020 15:34, Jacques Belin wrote:
@@ -621,6 +621,7 @@ 'user_email' => $user_email, 'email_list' => $email_list, 'language' => $_SESSION['language'],
'preferences' => serialize(array()),
At this stage it would be better to use an array, and serialize later (on insert).
And even beyond the squirrelmail_usercopy plugin, I think this change could help others user-creation related plugins.
Please, create a pull request. I don't have much time recently, but the feature makes sense, so we'll most likely accept it.