mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Fix #991 : add filename extension for document-class subdefs differents than document
This commit is contained in:
@@ -555,8 +555,7 @@ class set_export extends set_abstract
|
|||||||
$infos = pathinfo(p4string::addEndSlash($tmp_pathfile["path"]) .
|
$infos = pathinfo(p4string::addEndSlash($tmp_pathfile["path"]) .
|
||||||
$tmp_pathfile["file"]);
|
$tmp_pathfile["file"]);
|
||||||
|
|
||||||
$files[$id]["subdefs"][$name]["ajout"] =
|
$files[$id]["subdefs"][$name]["ajout"] = $name == 'document' ? '' : "_" . $name;
|
||||||
$properties['class'] == 'document' ? '' : "_" . $name;
|
|
||||||
$files[$id]["subdefs"][$name]["path"] = $tmp_pathfile["path"];
|
$files[$id]["subdefs"][$name]["path"] = $tmp_pathfile["path"];
|
||||||
$files[$id]["subdefs"][$name]["file"] = $tmp_pathfile["file"];
|
$files[$id]["subdefs"][$name]["file"] = $tmp_pathfile["file"];
|
||||||
$files[$id]["subdefs"][$name]["label"] = $properties['label'];
|
$files[$id]["subdefs"][$name]["label"] = $properties['label'];
|
||||||
|
Reference in New Issue
Block a user