Fix displaying the first user icon a user has on allpics in some
situations.
Patch by afuna.
diffs (12 lines):
diff -r 638833e5c9de -r 57a34c54466c htdocs/allpics.bml
--- a/htdocs/allpics.bml Fri Jun 12 20:59:31 2009 +0000
+++ b/htdocs/allpics.bml Fri Jun 12 21:01:09 2009 +0000
@@ -126,7 +126,7 @@
self_link => sub { BML::get_uri() . "?page=$_[0]&" .
$querystring }, });
$start_index = $page_size * ($page -1);
}
- @pics = @allpics[$start_index..$start_index + $page_size - 1];
+ @pics = splice( @allpics, $start_index, $start_index + $page_size - 1
);
} else {
@pics = @allpics;
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog