From b62eb188a2506fa35121a3a7d120d8ae163584dc Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 22 Jul 2008 01:29:38 +0000 Subject: - remove admin :hover css rule (bouncing thumbnails in caddie FF) - move some code from notification.php to notification.tpl - remove some unused variables from picture.php - make random.php work even if top_number is a lot (some issues solved with url length) git-svn-id: http://piwigo.org/svn/trunk@2446 68402e56-0260-453c-a942-63ccdbb3a9ee --- random.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'random.php') diff --git a/random.php b/random.php index 7b0deaeb3..e3f3ebf38 100644 --- a/random.php +++ b/random.php @@ -52,7 +52,7 @@ SELECT DISTINCT(id) 'WHERE' ).' ORDER BY RAND(NOW()) - LIMIT 0, '.$conf['top_number'].' + LIMIT 0, '.min(50, $conf['top_number'],$user['nb_image_page']).' ;'; // +-----------------------------------------------------------------------+ -- cgit v1.2.3