Feature #2484 add lang var when create a hotpotatoes folder

skala
Juan Carlos Raña 14 years ago
parent a64213b80a
commit 318ce96e7f
  1. 2
      main/exercice/hotpotatoes.php

@ -63,7 +63,7 @@ if (api_is_allowed_to_edit(null, true)) {
if (hotpotatoes_init($document_sys_path.$uploadPath)) {
// If the directory doesn't exist, create the "HotPotatoes" directory.
$doc_id = add_document($_course, '/HotPotatoes_files', 'folder', 0, 'HotPotatoes Files');
$doc_id = add_document($_course, '/HotPotatoes_files', 'folder', 0, get_lang('HotPotatoesFiles'));
// Update properties in dbase (in any case).
api_item_property_update($_course, TOOL_DOCUMENT, $doc_id, 'FolderCreated', $_user['user_id']);
// Make invisible (in any case) - why?

Loading…
Cancel
Save