Skip to content

Commit

Permalink
[jan] Split shared users by linebreaks too.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Sep 19, 2016
1 parent eb8aac1 commit f74f1b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/CHANGES
Expand Up @@ -2,6 +2,7 @@
v4.2.19-git
-----------

[jan] Split shared users by linebreaks too.


-------
Expand Down
2 changes: 1 addition & 1 deletion js/kronolith.js
Expand Up @@ -3399,7 +3399,7 @@ KronolithCore = {
$('kronolithC' + type + 'PUList').enable();
$('kronolithC' + type + 'PUPerms').enable();
var users = $F('kronolithC' + type + 'PUList').strip();
users = users ? users.split(/,\s*/) : [];
users = users ? users.split(/\s*(?:,|\n)\s*/) : [];
users.each(function(user) {
if (!this.insertGroupOrUser(type, 'user', user, true)) {
return;
Expand Down
4 changes: 2 additions & 2 deletions package.xml
Expand Up @@ -33,7 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [jan] Split shared users by linebreaks too.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -2745,7 +2745,7 @@
<date>2016-09-06</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
*
* [jan] Split shared users by linebreaks too.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit f74f1b4

Please sign in to comment.