Skip to content

Commit

Permalink
Fix function name createForumThread
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Jan 22, 2016
1 parent 9cdea4e commit 6a6b8aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main/inc/ajax/lp.ajax.php
Expand Up @@ -250,7 +250,7 @@
$forumThread = $lpItem->getForumThread($course_id, $sessionId);

if (empty($forumThread)) {
$lpItem->createForumTthread($forumId);
$lpItem->createForumThread($forumId);
$forumThread = $lpItem->getForumThread($course_id, $sessionId);
}

Expand Down
2 changes: 1 addition & 1 deletion main/newscorm/learnpathItem.class.php
Expand Up @@ -4516,7 +4516,7 @@ public function getForumThread($lpCourseId, $lpSessionId = 0)
* @param int $currentForumId The forum ID to add the new thread
* @return int The forum thread if was created. Otherwise return false
*/
public function createForumTthread($currentForumId)
public function createForumThread($currentForumId)
{
require_once api_get_path(SYS_CODE_PATH) . '/forum/forumfunction.inc.php';

Expand Down
2 changes: 1 addition & 1 deletion main/newscorm/lp_controller.php
Expand Up @@ -1331,7 +1331,7 @@ function(reponse){
}

if (!empty($forumId)) {
$selectedItem->createForumTthread($forumId);
$selectedItem->createForumThread($forumId);
}
}
}
Expand Down

0 comments on commit 6a6b8aa

Please sign in to comment.