Merge trunk fix for [ 1480341 ] Timezone Bug
[scuttle] / ajaxGetTitle.php
index 0bc142d154fd3f138bab7bf5dff1adbd544f007a..473fa59ba72d3183bbc595ae104bf4203aa95fdf 100644 (file)
@@ -40,7 +40,7 @@ function getTitle($url) {
         $encoding = strtoupper($matches[1][0]);
 
         // Convert to UTF-8 from the original encoding
-        if (function_exists('mb_convert_encoding') {
+        if (function_exists('mb_convert_encoding')) {
             $title = @mb_convert_encoding($title, 'UTF-8', $encoding);
         }
 

Benjamin Mako Hill || Want to submit a patch?