Use Horde_String.
authorJan Schneider <jan@horde.org>
Fri, 15 Oct 2010 10:47:58 +0000 (12:47 +0200)
committerJan Schneider <jan@horde.org>
Fri, 15 Oct 2010 10:47:58 +0000 (12:47 +0200)
wicked/lib/Text_Wiki/Render/Xhtml/Url.php

index a93e2a1..1049770 100644 (file)
@@ -25,7 +25,7 @@ class Text_Wiki_Render_Xhtml_Url extends Text_Wiki_Render {
         // Find the rightmost dot and determine the filename
         // extension.
         $pos = strrpos($href, '.');
-        $ext = strtolower(substr($href, $pos + 1));
+        $ext = Horde_String::lower(substr($href, $pos + 1));
         $href = htmlspecialchars($href);
 
         // Allow for alternative targets on non-anchor HREFs.