Browse Source

Fixing - PHP warning.

Julio Montoya 10 years ago
parent
commit
f9a3ca5dc5

+ 2 - 2
main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/ajax_create_folder.php

@@ -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,
                 null,
                 null,
@@ -73,7 +73,7 @@ if (CONFIG_SYS_VIEW_ONLY || !CONFIG_OPTIONS_NEWFOLDER) {
                 $doc_id,
                 'invisible',
                 api_get_user_id(),
-                $to_group_id,
+                api_get_group_id(),
                 null,
                 null,
                 null,