[wellwell-devel] [wellwell] Fix syntax error in paging subroutine.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Thu Sep 26 17:35:35 UTC 2013


commit f5e7c1f10b77f638bc558d3e239e705dc250714d
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Sep 26 19:34:20 2013 +0200

    Fix syntax error in paging subroutine.

 code/paging.sub |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/code/paging.sub b/code/paging.sub
index 1851194..b9de9b1 100644
--- a/code/paging.sub
+++ b/code/paging.sub
@@ -78,7 +78,7 @@ sub {
                          last => 'last',
                          );
 
-	for my $anchor qw(first prev next last) {
+	for my $anchor (qw(first prev next last)) {
 	    if ($r =~ s:\[$anchor[-_]anchor\](.*?)\[/$anchor[-_]anchor\]::i) {
             $anchor_labels{$anchor} = $1;
 



More information about the wellwell-devel mailing list