Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 12945803b877ac17e8089fdabb06c7a5849d78fb 1 parent 71d7bc3
Damyon Wiese authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/assign/assignmentplugin.php
2  mod/assign/assignmentplugin.php
@@ -289,7 +289,7 @@ public function view(stdClass $submissionorgrade) {
289 289
290 290 if ($current) {
291 291 $current->value = $value;
292   - return $DB->update_record('assign_plugin_config', $current, array('id'=>$current->id));
  292 + return $DB->update_record('assign_plugin_config', $current);
293 293 } else {
294 294 $setting = new stdClass();
295 295 $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.