[Astpp-commit] SF.net SVN: astpp: [2187] trunk/modules/ASTPP/lib/ASTPP.pm
Brought to you by:
darrenkw
From: <dar...@us...> - 2008-07-03 00:06:18
|
Revision: 2187 http://astpp.svn.sourceforge.net/astpp/?rev=2187&view=rev Author: darrenkw Date: 2008-07-02 17:06:16 -0700 (Wed, 02 Jul 2008) Log Message: ----------- Fixed a pagination error. Modified Paths: -------------- trunk/modules/ASTPP/lib/ASTPP.pm Modified: trunk/modules/ASTPP/lib/ASTPP.pm =================================================================== --- trunk/modules/ASTPP/lib/ASTPP.pm 2008-06-07 15:00:20 UTC (rev 2186) +++ trunk/modules/ASTPP/lib/ASTPP.pm 2008-07-03 00:06:16 UTC (rev 2187) @@ -281,7 +281,7 @@ # First we decide if we have multiple pages... - if ($arg{total_entries} > 1) { + if ($total_entries > 1) { my $html; $html = "<a href=\"" . $self->{_script} . "?mode=" @@ -295,7 +295,7 @@ . "<a href=\"" . $self->{_script} . "?mode=" . $arg{mode} . "&ve=" . $arg{ve} . "&te=" - . $arg{total_entries} . "&pg=" + . $total_entries . "&pg=" . $arg{last_page} . "\">" . "Last Page" . "</a>"; return ($sql,$html); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |