mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Merge with 3.7
This commit is contained in:
@@ -349,8 +349,9 @@ class PDF
|
||||
$collection = \collection::get_from_base_id($this->app, $rec->get_base_id());
|
||||
|
||||
$vn = "";
|
||||
if ($str = simplexml_load_string($collection->get_prefs()))
|
||||
if (false !== $str = simplexml_load_string($collection->get_prefs())) {
|
||||
$vn = (string) ($str->pdfPrintappear);
|
||||
}
|
||||
|
||||
if ($vn == "" || $vn == "1") {
|
||||
$RIGHT_TEXT = \phrasea::bas_names($rec->get_base_id(), $this->app);
|
||||
|
Reference in New Issue
Block a user