Merged in cochalo/processmaker/PM-2256 (pull request #1924)
PM-2256: Se valido la existencia de la variable utilizada
This commit is contained in:
@@ -112,11 +112,12 @@ class pmTables extends Controller
|
|||||||
$this->setJSVar( 'dataNumRows', $dataNumRows );
|
$this->setJSVar( 'dataNumRows', $dataNumRows );
|
||||||
$this->setJSVar( '_plugin_permissions', $repTabPluginPermissions );
|
$this->setJSVar( '_plugin_permissions', $repTabPluginPermissions );
|
||||||
$this->setJSVar( 'sizeTableName', $this->getSizeTableName());
|
$this->setJSVar( 'sizeTableName', $this->getSizeTableName());
|
||||||
|
|
||||||
require_once 'classes/model/AdditionalTables.php';
|
$isBpmn = 0;
|
||||||
$process = new Process();
|
if (isset( $_GET['PRO_UID'] )) {
|
||||||
$isBpmn = $process->isBpmnProcess($_GET['PRO_UID']);
|
$process = new Process();
|
||||||
|
$isBpmn = $process->isBpmnProcess($_GET['PRO_UID']);
|
||||||
|
}
|
||||||
$this->setJSVar( 'isBpmn', $isBpmn );
|
$this->setJSVar( 'isBpmn', $isBpmn );
|
||||||
|
|
||||||
G::RenderPage( 'publish', 'extJs' );
|
G::RenderPage( 'publish', 'extJs' );
|
||||||
|
|||||||
Reference in New Issue
Block a user