From cf1ccbb15d77d679c00d0f8eb1301866f8ab0bab Mon Sep 17 00:00:00 2001 From: "marcelo.cuiza" Date: Fri, 29 May 2015 11:33:05 -0400 Subject: [PATCH] PM-874 --- workflow/engine/controllers/pmTablesProxy.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workflow/engine/controllers/pmTablesProxy.php b/workflow/engine/controllers/pmTablesProxy.php index f3af71cf6..cf7851e50 100755 --- a/workflow/engine/controllers/pmTablesProxy.php +++ b/workflow/engine/controllers/pmTablesProxy.php @@ -1024,6 +1024,9 @@ class pmTablesProxy extends HttpProxyController throw new Exception( G::loadTranslation( 'ID_NO_RELATED_PROCESS' ) ); } } else { /* from designer tab */ + if($isPmTable){ + throw new Exception( G::loadTranslation( 'ID_NO_REPORT_TABLE' ) ); + } if ($tableExists !== false && !$fromConfirm) { $validationType = 1; throw new Exception( G::loadTranslation( 'ID_OVERWRITE_PMTABLE' ) );