@@ -61,7 +61,7 @@ if (CONFIG_SYS_VIEW_ONLY || !CONFIG_OPTIONS_NEWFOLDER) {
$doc_id,
'FolderCreated',
api_get_user_id(),
- $to_group_id,
+ api_get_group_id(),
null,
@@ -73,7 +73,7 @@ if (CONFIG_SYS_VIEW_ONLY || !CONFIG_OPTIONS_NEWFOLDER) {
'invisible',