]> git.mjollnir.org Git - moodle.git/commitdiff
Merge from 1.6 branch.
authortjhunt <tjhunt>
Wed, 17 May 2006 11:38:34 +0000 (11:38 +0000)
committertjhunt <tjhunt>
Wed, 17 May 2006 11:38:34 +0000 (11:38 +0000)
lib/blocklib.php

index c152fd44b1171dead8d0b370ae18b1206b2269af..6196d01427309db9f475f88a5100472ba3615998 100644 (file)
@@ -240,7 +240,7 @@ function blocks_have_content(&$pageblocks, $position) {
         if(!$obj->is_empty()) {
             // cache rec and obj 
             // for blocks_print_group()
-            $instance->rec = $rec;
+            $instance->rec = $record;
             $instance->obj = $obj; 
             return true;
         }