This commit is contained in:
Paula Quispe
2019-07-24 11:54:30 -04:00
parent 86ff96b3ad
commit 20b4fe90bc

View File

@@ -134,7 +134,8 @@ if ($action == "todo" || $action == "draft" || $action == "sent" || $action == "
} }
} }
//get values for the comboBoxes //Get values for the comboBoxes
$processes = [];
$processes[] = ['', G::LoadTranslation('ID_ALL_PROCESS')]; $processes[] = ['', G::LoadTranslation('ID_ALL_PROCESS')];
$status = getStatusArray($action); $status = getStatusArray($action);
$category = getCategoryArray(); $category = getCategoryArray();
@@ -223,6 +224,7 @@ G::RenderPage('publish', 'extJs');
*/ */
function getCategoryArray() function getCategoryArray()
{ {
$category = [];
$category[] = ["", G::LoadTranslation("ID_ALL_CATEGORIES")]; $category[] = ["", G::LoadTranslation("ID_ALL_CATEGORIES")];
$criteria = new Criteria('workflow'); $criteria = new Criteria('workflow');