Merge branch 'MDL-35982-master' of git://github.com/danpoltawski/moodle
authorDavid Monllao <davidm@moodle.com>
Mon, 30 Nov 2015 07:45:44 +0000 (15:45 +0800)
committerDavid Monllao <davidm@moodle.com>
Mon, 30 Nov 2015 07:45:44 +0000 (15:45 +0800)
lib/filterlib.php

index ba89fd2..0c23431 100644 (file)
@@ -463,7 +463,7 @@ class filterobject {
      * @param bool $fullmatch
      * @param mixed $replacementphrase
      */
-    function filterobject($phrase, $hreftagbegin = '<span class="highlight">',
+    public function __construct($phrase, $hreftagbegin = '<span class="highlight">',
                                    $hreftagend = '</span>',
                                    $casesensitive = false,
                                    $fullmatch = false,