]> git.mjollnir.org Git - moodle.git/commitdiff
More multilang support for site fullname, plus a couple extra comments. merged from...
authorskodak <skodak>
Fri, 30 Mar 2007 21:10:15 +0000 (21:10 +0000)
committerskodak <skodak>
Fri, 30 Mar 2007 21:10:15 +0000 (21:10 +0000)
filter/emailprotect/filter.php

index 3a6131858fa076c3463a9b63a7dae8e61ae8db2f..9e706c52e5ab24cbe0af1d41dd8957a78f781bd8 100644 (file)
@@ -5,6 +5,11 @@
 
 function emailprotect_filter($courseid, $text) {
 
+    
+    if (!empty($CFG->formatstring)) {
+        return $text;
+    }
+                                            
 /// Do a quick check using stripos to avoid unnecessary work
     if (strpos($text, '@') === false) {
         return $text;