]> git.mjollnir.org Git - moodle.git/commitdiff
fixed typo
authorskodak <skodak>
Tue, 10 Jul 2007 07:34:05 +0000 (07:34 +0000)
committerskodak <skodak>
Tue, 10 Jul 2007 07:34:05 +0000 (07:34 +0000)
search/documents/physical_htm.php

index 256dd365fc361d6b8eada5c98b680a246fb667dc..36878ba492f4d2b13e0809ebf0eba1e50086f683 100644 (file)
@@ -21,7 +21,7 @@ function get_text_for_indexing_htm(&$resource){
     if (preg_match('/(.*)<meta ([^>]*)>(.*)/is',$text, $matches)){
         $prefix = $matches[1];
         $meta_attributes = $matches[2];
-        $suffix = $matches{3];
+        $suffix = $matches[3];
         if (preg_match('/name="(keywords|description)"/i', $attributes)){
             preg_match('/content="[^"]+"/i', $attributes, $matches);
             $text = $prefix.' '.$matches[1].' '.$suffix;