From d6ccc6055edaf8aa9d33c5d27c96b6e1c8ef9aa1 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 14 Feb 2010 11:35:08 +0100 Subject: [PATCH] Cleaner syntax. Signed-off-by: Florent Bruneau --- modules/carnet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/carnet.php b/modules/carnet.php index 4ca7774..5dbf71a 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -331,7 +331,7 @@ class CarnetModule extends PLModule $pdf = new ContactsPDF(); - $profiles = $filter->getProfiles(new PlLimit()); + $profiles = $filter->getProfiles(); foreach ($profiles as $p) { $pdf = ContactsPDF::addContact($pdf, $p, $arg0 == 'photos' || $arg1 == 'photos'); } -- 2.1.4