Skip to content

Commit 03303da

Browse files
author
Till Brehm
committed
Fixed issue in tform actions which has caused corrupted templates.
1 parent 32dcc87 commit 03303da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/lib/classes/tform_actions.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ function onLoad() {
4646
$app->tpl->newTemplate("tabbed_form.tpl.htm");
4747

4848
// Load table definition from file
49-
$app->tform->loadFormDef($tform_def_file, (isset($_SESSION['s']['module']['name']) ? $_SESSION['s']['module']['name'] : ''));
49+
//$app->tform->loadFormDef($tform_def_file, (isset($_SESSION['s']['module']['name']) ? $_SESSION['s']['module']['name'] : ''));
50+
$app->tform->loadFormDef($tform_def_file);
5051

5152
// Importing ID
5253
$this->id = (isset($_REQUEST["id"]))?$app->functions->intval($_REQUEST["id"]):0;

0 commit comments

Comments
 (0)