# find the last modification
my $ref = $dbh->selectrow_hashref('SELECT EXTRACT(EPOCH FROM last_update) AS last_update FROM last_picture_cache WHERE vhost=? ORDER BY last_update DESC LIMIT 1',
undef, $r->get_server_name)
# find the last modification
my $ref = $dbh->selectrow_hashref('SELECT EXTRACT(EPOCH FROM last_update) AS last_update FROM last_picture_cache WHERE vhost=? ORDER BY last_update DESC LIMIT 1',
undef, $r->get_server_name)
- or error($r, "Could not any events", 404, "File not found");
+ or error($r, "Could not find any events", 404, "File not found");
my $html = HTML::Entities::encode_entities($tag); # is this right?
my $uri = Sesse::pr0n::Common::pretty_escape($tag); # and this?
my $html = HTML::Entities::encode_entities($tag); # is this right?
my $uri = Sesse::pr0n::Common::pretty_escape($tag); # and this?
- my $date = HTML::Entities::encode_entities(Encode::decode_utf8($ref->{'date'}));
- my $name = HTML::Entities::encode_entities(Encode::decode_utf8($ref->{'name'}));
+ my $date = HTML::Entities::encode_entities($ref->{'date'});
+ my $name = HTML::Entities::encode_entities($ref->{'name'});