fixed forced reparsing after update
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:59:21 +0000 (12:59 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:59:21 +0000 (12:59 +0000)
mod/imscp/lib.php

index 7a8b0b4..c958538 100644 (file)
@@ -131,7 +131,7 @@ function imscp_update_instance($data, $mform) {
 
     $data->timemodified = time();
     $data->id           = $data->instance;
-    $imscp->structure   = null; // better reparse structure after each update
+    $data->structure   = null; // better reparse structure after each update
 
     $DB->update_record('imscp', $data);