Sanitize group in togglegroups

remotes/origin/stable4
Michael Gapczynski 2012-05-09 09:23:19 +07:00
parent 588b51d88a
commit 63cc1ccacd
1 changed files with 1 additions and 1 deletions

@ -10,7 +10,7 @@ $error = "add user to";
$action = "add";
$username = $_POST["username"];
$group = $_POST["group"];
$group = htmlentities($_POST["group"]);
if(!OC_Group::groupExists($group)){
OC_Group::createGroup($group);