]> git.agnieray.net Git - galette.git/commitdiff
Fix signature list; refs #1553
authorJohan Cwiklinski <johan@x-tnd.be>
Thu, 6 May 2021 03:52:32 +0000 (05:52 +0200)
committerJohan Cwiklinski <johan@x-tnd.be>
Thu, 6 May 2021 03:52:32 +0000 (05:52 +0200)
galette/lib/Galette/Entity/PdfModel.php

index f8648d715dc81fa34d5997c08774acbb8065d2ef..37d5e0d657312909b9d576d89f7a023f75152ad6 100644 (file)
@@ -352,7 +352,7 @@ abstract class PdfModel
             case 'hsubtitle':
             case 'hbody':
                 $pname = substr($name, 1);
-                $prop_value = $this->$pname;
+                $prop_value = $this->$pname ?? '';
 
                 //get header and footer from parent if not defined in current model
                 if (