mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor caption_field
This commit is contained in:
@@ -318,7 +318,7 @@ class PDF
|
||||
$this->pdf->Write(5, $field->get_name() . " : ");
|
||||
|
||||
$this->pdf->SetFont(PhraseaPDF::FONT, '', 12);
|
||||
$this->pdf->Write(5, $field->get_value(true));
|
||||
$this->pdf->Write(5, $field->get_serialized_values());
|
||||
|
||||
$this->pdf->Write(6, "\n");
|
||||
$nf++;
|
||||
@@ -513,7 +513,7 @@ class PDF
|
||||
$t = str_replace(
|
||||
array("<", ">", "&")
|
||||
, array("<", ">", "&")
|
||||
, $field->get_value(true)
|
||||
, $field->get_serialized_values()
|
||||
);
|
||||
|
||||
$this->pdf->Write(5, $t);
|
||||
|
Reference in New Issue
Block a user