[-] BO : #PSTEST-253 fix bug added groups
This commit is contained in:
1 parent
3e2aa77e29
commit
6fecc4098c
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -262,7 +262,7 @@ class GroupCore extends ObjectModel
|
||||
$sql .= '("'.(int)$mod.'", "'.(int)$s.'", "'.(int)$id_group.'"),';
|
||||
// removing last comma to avoid SQL error
|
||||
$sql = substr($sql, 0, strlen($sql) - 1);
|
||||
Db::getInstance()->execute($sql);
|
||||
return (bool)Db::getInstance()->execute($sql);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user