Fixed a bug in the debug output.
This commit is contained in:
parent
51fe388aa5
commit
b7214816ba
2 changed files with 4 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ sub _generateDebug {
|
|||
$debug .= '<tr><td align="right"><b>'.$section.'.'.$key.':</b></td><td>'.$value.'</td>';
|
||||
}
|
||||
}
|
||||
$debug .= '<tr height=10><td> </td><td> </td></tr>';
|
||||
$debug .= '<tr><td colspan="2"> </td></tr>';
|
||||
}
|
||||
$debug .='</table>';
|
||||
}
|
||||
|
|
@ -211,7 +211,7 @@ sub _processOperations {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
sub page {
|
||||
my ($positions, $wobjectOutput, $pageEdit, $httpHeader, $content, $operationOutput, $template);
|
||||
my ($debug, $positions, $wobjectOutput, $pageEdit, $httpHeader, $content, $operationOutput, $template);
|
||||
WebGUI::Session::open($_[0],$_[1]);
|
||||
$operationOutput = _processOperations();
|
||||
$wobjectOutput = _processFunctions();
|
||||
|
|
@ -249,8 +249,9 @@ sub page {
|
|||
),
|
||||
$positions
|
||||
);
|
||||
$debug = _generateDebug();
|
||||
WebGUI::Session::close();
|
||||
return $httpHeader.$content._generateDebug();
|
||||
return $httpHeader.$content.$debug;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue