Skip to content
Browse files

MDL-32904: Fix incorrect call to update_record (not causing an error)

  • Loading branch information...
1 parent 71d7bc3 commit 12945803b877ac17e8089fdabb06c7a5849d78fb Damyon Wiese committed May 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/assignmentplugin.php
View
2 mod/assign/assignmentplugin.php
@@ -289,7 +289,7 @@ public function view(stdClass $submissionorgrade) {
if ($current) {
$current->value = $value;
- return $DB->update_record('assign_plugin_config', $current, array('id'=>$current->id));
+ return $DB->update_record('assign_plugin_config', $current);
} else {
$setting = new stdClass();
$setting->assignment = $this->assignment->get_instance()->id;

0 comments on commit 1294580

Please sign in to comment.
Something went wrong with that request. Please try again.