From 99e3cbf15b7ecbd2fa0df60dc52a901e38b8ee74 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 8 May 2006 01:52:17 +0000 Subject: [PATCH] another typo --- lib/WebGUI/Paginator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Paginator.pm b/lib/WebGUI/Paginator.pm index c0b501b41..8ef38c3c7 100644 --- a/lib/WebGUI/Paginator.pm +++ b/lib/WebGUI/Paginator.pm @@ -383,7 +383,7 @@ sub getPageLinks { for (my $i=0; $i<$self->getNumberOfPages; $i++) { my $altTag; if ($self->{abKey}) { - $altTag = ' title="'.subst($self->{_rowRef}[($i * $self->{_rpp})+1]->{$self->{abKey}},0,1).'-'.subst($self->{_rowRef}[(($i+1) * $self->{_rpp})-1]->{$self->{abKey}},0,1).'"'; + $altTag = ' title="'.substr($self->{_rowRef}[($i * $self->{_rpp})+1]->{$self->{abKey}},0,1).'-'.substr($self->{_rowRef}[(($i+1) * $self->{_rpp})-1]->{$self->{abKey}},0,1).'"'; } if ($i+1 == $pn) { push(@pages,($i+1));