/[webpac2]/Webpacus/lib/Webpacus/Model/WebPAC.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Model/WebPAC.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 451 by dpavlin, Sun May 7 19:58:43 2006 UTC revision 452 by dpavlin, Sun May 7 20:32:49 2006 UTC
# Line 265  sub search { Line 265  sub search {
265    
266          my @results;          my @results;
267    
268          #for my $i ( (($page - 1) * $max) .. ( $hits - 1 ) ) {          
269          for my $i ( 0 .. $max ) {  
270            for my $i ( 0 .. ( $hits < $max ? ($hits-1) : ($max-1) ) ) {
271    
272                  $t = time();                  $t = time();
273    

Legend:
Removed from v.451  
changed lines
  Added in v.452

  ViewVC Help
Powered by ViewVC 1.1.26