Project

General

Profile

Actions

Anomalie #676

closed

Liste des adhérents par groupe : page blanche

Added by Johan Cwiklinski about 11 years ago. Updated about 11 years ago.

Status:
Fermé
Priority:
Normal
Category:
Files generation
Target version:
-
Start date:
08/18/2013
Due date:
% Done:

100%

Estimated time:
Version utilisée:

Description

On obtient une page blanche lors de la génération des PDF des groupes, avec un message du type PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Provided model must be an instance of PdfModel!'

Actions #1

Updated by Johan Cwiklinski about 11 years ago

Le correctif :

diff --git a/galette/groups_list.php b/galette/groups_list.php
index e484d39..1c91ad0 100644
--- a/galette/groups_list.php
+++ b/galette/groups_list.php
@@ -86,7 +86,7 @@ class GroupsPdf extends Pdf

 $doc_title = _T("Members by groups");

-$pdf=new GroupsPdf('P', 'mm', 'A4');
+$pdf=new GroupsPdf();

 // Set document information
 $pdf->SetTitle($doc_title);

Actions #2

Updated by Johan Cwiklinski about 11 years ago

  • Status changed from Nouveau to In Progress
Actions #3

Updated by Johan Cwiklinski about 11 years ago

  • Status changed from In Progress to Résolu
  • % Done changed from 0 to 100
Actions #4

Updated by Johan Cwiklinski about 11 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF