diff --git a/module/execution/control.php b/module/execution/control.php index 1b3fcd99a8..2a8aad91f4 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1398,7 +1398,7 @@ class execution extends control $this->view->qdUsers = $qdUsers; $this->view->rdUsers = $rdUsers; $this->view->users = $this->loadModel('user')->getPairs('nodeleted|noclosed'); - $this->view->copyExecution = isset($copyExecution) ? $copyExecution : array(); + $this->view->copyExecution = isset($copyExecution) ? $copyExecution : ''; $this->view->from = $this->app->tab; $this->display(); } diff --git a/module/execution/view/create.html.php b/module/execution/view/create.html.php index 95d89b9a96..faef2a3cba 100644 --- a/module/execution/view/create.html.php +++ b/module/execution/view/create.html.php @@ -163,13 +163,13 @@
execution->PO;?> - PO) ? $copyExecution->PO : '', "class='form-control chosen'");?> + PO, "class='form-control chosen'");?>
execution->QD;?> - QD) ? $copyExecution->QD : '', "class='form-control chosen'");?> + QD, "class='form-control chosen'");?>
@@ -177,13 +177,13 @@
execution->PM;?> - PM) ? $copyExecution->PM : '', "class='form-control chosen'");?> + PM, "class='form-control chosen'");?>
execution->RD;?> - RD) ? $copyExecution->RD : '', "class='form-control chosen'");?> + RD, "class='form-control chosen'");?>