Skip to content

Commit

Permalink
🐛 #63
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Feb 2, 2021
1 parent eb4e572 commit 27f271e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/control/controllers/CreateControllers.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ public function addExecProcedure()
$this->addLine();
$this->addLine(ESP.'public function execProcedure( '.$this->tableRefVO.' $objVo )');
$this->addLine(ESP.'{');
$this->addLine(ESP.ESP.'$result = $this->dao->execProcedure( $objVo );');
$this->addLine(ESP.ESP.'FormDinHelper::debug($result);');
$this->addLine(ESP.ESP.'$result = $this->dao->execProcedure( $objVo );');
$this->addLine(ESP.ESP.'return $result;');
$this->addLine(ESP.'}');
}
Expand Down
3 changes: 2 additions & 1 deletion app/control/controllers/TCreateForm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,8 @@ public function addMethod_onExecute($qtdTab)
$this->addLine($qtdTab.ESP.ESP.ESP.'$this->frm->addMessage( _t(\'Record saved\') );');
$this->addLine($qtdTab.ESP.ESP.ESP.'//$this->frm->clearFields();');
$this->addLine($qtdTab.ESP.ESP.'}else{');
$this->addLine($qtdTab.ESP.ESP.ESP.'$this->frm->addMessage($resultado);');
$this->addLine($qtdTab.ESP.ESP.ESP.'//$this->frm->addMessage($resultado);');
$this->addLine($qtdTab.ESP.ESP.ESP.'FormDinHelper::debug($resultado,\'$resultado\');');
$this->addLine($qtdTab.ESP.ESP.'}');
$this->addLine($qtdTab.ESP.'}catch (Exception $e){');
$this->addLine($qtdTab.ESP.ESP.'new TMessage(TFormDinMessage::TYPE_ERROR, $e->getMessage());');
Expand Down

0 comments on commit 27f271e

Please sign in to comment.