Project

General

Profile

Anomalie #676

Liste des adhérents par groupe : page blanche

Added by Johan Cwiklinski over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Category:
Génération de fichiers
Target version:
-
Start date:
08/18/2013
Due date:
% Done:

100%

Estimated time:
Version utilisée:
Vote:

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!'

Associated revisions

Revision 7575d299 (diff)
Added by Johan Cwiklinski over 6 years ago

Groups PDF blank page; fixes #676

History

#1

Updated by Johan Cwiklinski over 6 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);

#2

Updated by Johan Cwiklinski over 6 years ago

  • Status changed from Nouveau to In Progress
#3

Updated by Johan Cwiklinski over 6 years ago

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

Updated by Johan Cwiklinski over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF