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 3a61318..9e706c5 100644 (file)
@@ -5,6 +5,11 @@
 
 function emailprotect_filter($courseid, $text) {
 
 
 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;
 /// Do a quick check using stripos to avoid unnecessary work
     if (strpos($text, '@') === false) {
         return $text;