]> git.mjollnir.org Git - moodle.git/commitdiff
Adds reference to global $DB object.
authordiml <diml>
Thu, 25 Dec 2008 20:26:55 +0000 (20:26 +0000)
committerdiml <diml>
Thu, 25 Dec 2008 20:26:55 +0000 (20:26 +0000)
blocks/search/config_global.html

index 40575942bd92110dc668c37131c1337a211d657b..66d18be9b62d340799abfc9c53771e691e00ce35 100644 (file)
@@ -7,6 +7,7 @@ include_once $CFG->dirroot."/search/lib.php";
 
 $defaultfiletypes = "PDF,TXT,HTML,PPT,XML,DOC,HTM";
 
+global $DB;
 ?>
 <div style="text-align:center;">
 <table cellspacing="5" width="90%">