Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[MDL-23432]

Fixing problems at comments
  • Loading branch information...
commit becf81c73623f4f1ffd384e8f83ae63493456195 1 parent 9deebbd
Jordi Piguillem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/wiki/locallib.php
View
2  mod/wiki/locallib.php
@@ -1072,7 +1072,7 @@ function wiki_process_attachments($draftitemid, $deleteuploads, $contextid, $fil
function wiki_get_comment($commentid){
global $DB;
- return $DB->get_record('comment', 'id', $commentid);
+ return $DB->get_record('comments', array('id' => $commentid));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.