Fix export
This commit is contained in:
william barra
2016-03-28 16:55:27 -04:00
committed by dheeyi
parent 1563d277c7
commit 9ee66af689

View File

@@ -33,7 +33,7 @@ try {
}
if (\BpmnProject::exists($_GET["pro_uid"]) && isset($_GET['objects'])) {
$_GET["objects"] = \G::json_decode($_GET['objects']);
if(sizeof($_GET['objects']) == 0 || '' == trim($_GET['objects']) ){
if (sizeof($_GET['objects']) == 0) {
$exporter = new ProcessMaker\Exporter\XmlExporter($_GET["pro_uid"]);
$getProjectName = $exporter->truncateName($exporter->getProjectName(), false);