]> git.sesse.net Git - pr0n/blobdiff - perl/Sesse/pr0n/Common.pm
Use anchors instead of start= on fullscreen link; fixes the close button.
[pr0n] / perl / Sesse / pr0n / Common.pm
index a6a8de4b52f82cd9db3138a8dc1fadea065d05e1..d72e0cb967892c6921b80944f64d5d962afc9423 100644 (file)
@@ -32,7 +32,7 @@ BEGIN {
                require Sesse::pr0n::Config_local;
        };
 
-       $VERSION     = "v3.00";
+       $VERSION     = "v3.01";
        @ISA         = qw(Exporter);
        @EXPORT      = qw(&error &dberror);
        %EXPORT_TAGS = qw();
@@ -128,7 +128,8 @@ sub get_query_string {
        my $first = 1;
        my $str = "";
 
-       while (my ($key, $value) = each %$param) {
+       for my $key (sort keys %$param) {
+               my $value = $param->{$key};
                next unless defined($value);
                next if (defined($defparam->{$key}) && $value == $defparam->{$key});