Remove all Encode::decode_utf8 calls, as seemingly scalars from PostgreSQL comes...
[pr0n] / perl / Sesse / pr0n / Common.pm
index 63190b14295aadc1d10df6d19d0480cd5e672eec..1cd65046d9769787de6aa3ca44205fb19137fb79 100644 (file)
@@ -96,7 +96,7 @@ sub header {
                $quote = LWP::Simple::get("http://itk.samfundet.no/include/quotes.cli.php");
                $quote = "Error: Could not fetch quotes." if (!defined($quote));
        }
-       Sesse::pr0n::Templates::print_template($r, "header", { title => $title, quotes => Encode::decode_utf8($quote) });
+       Sesse::pr0n::Templates::print_template($r, "header", { title => $title, quotes => $quote });
 }
 
 sub footer {