From 0c17d715cc6ac890d61b321fe2421d6bbe04df67 Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Sun, 31 Jul 2005 04:01:04 +0000 Subject: [PATCH] bug 310, affichage du nombre max de photos dans trombi promo git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@9 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 5 ++++- htdocs/trombipromo.php | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 987003c..541f6b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,9 +8,12 @@ New : Bug/Wish : + * Core : + - #310: Display the max number of photo in trombipromo. -Car + * Profile : - #330: Interface to delete usage name is clearer. -Car - + ================================================================================ VERSION 0.9.8 18 Jul 2005 diff --git a/htdocs/trombipromo.php b/htdocs/trombipromo.php index a499834..403274a 100644 --- a/htdocs/trombipromo.php +++ b/htdocs/trombipromo.php @@ -59,6 +59,9 @@ if (Env::has('xpromo')) { $trombi->setAdmin(); $page->assign_by_ref('trombi',$trombi); } +} else { + $tmp = new Trombi(); + $page->assign("limit", $tmp->limit); } $page->run(); -- 2.1.4