[Rt-devel] Page 1 of 0

Jesse Vincent jesse at bestpractical.com
Wed May 16 12:47:29 EDT 2007


Thanks. Applied for 3.6.4

On May 16, 2007, at 11:26 AM, Nicholas Clark wrote:

> --- html/Elements/TicketList~	Tue Dec 19 20:12:17 2006
> +++ html/Elements/TicketList	Wed May 16 15:21:52 2007
> @@ -75,7 +75,9 @@
>  % if (($TotalFound % $Rows) == 0) {
>  % $oddRows = 0;
>  % } else { $oddRows = 1; }
> -<&|/l, $Page, int($TotalFound/$Rows)+$oddRows&>Page [_1] of [_2]</&>
> +% my $pages = int($TotalFound/$Rows)+$oddRows;
> +% $pages = 1 if $pages < 1;
> +<&|/l, $Page, $pages &>Page [_1] of [_2]</&>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20070516/2cb32c38/PGP.pgp


More information about the Rt-devel mailing list