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><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>';
|
$debug .='</table>';
|
||||||
}
|
}
|
||||||
|
|
@ -211,7 +211,7 @@ sub _processOperations {
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub page {
|
sub page {
|
||||||
my ($positions, $wobjectOutput, $pageEdit, $httpHeader, $content, $operationOutput, $template);
|
my ($debug, $positions, $wobjectOutput, $pageEdit, $httpHeader, $content, $operationOutput, $template);
|
||||||
WebGUI::Session::open($_[0],$_[1]);
|
WebGUI::Session::open($_[0],$_[1]);
|
||||||
$operationOutput = _processOperations();
|
$operationOutput = _processOperations();
|
||||||
$wobjectOutput = _processFunctions();
|
$wobjectOutput = _processFunctions();
|
||||||
|
|
@ -249,8 +249,9 @@ sub page {
|
||||||
),
|
),
|
||||||
$positions
|
$positions
|
||||||
);
|
);
|
||||||
|
$debug = _generateDebug();
|
||||||
WebGUI::Session::close();
|
WebGUI::Session::close();
|
||||||
return $httpHeader.$content._generateDebug();
|
return $httpHeader.$content.$debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,7 +145,6 @@ sub www_editQuestion {
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub www_editQuestionSave {
|
sub www_editQuestionSave {
|
||||||
my ($seq);
|
|
||||||
if (WebGUI::Privilege::canEditPage()) {
|
if (WebGUI::Privilege::canEditPage()) {
|
||||||
$_[0]->setCollateral("FAQ_question", "FAQ_questionId", {
|
$_[0]->setCollateral("FAQ_question", "FAQ_questionId", {
|
||||||
FAQ_questionId => $session{form}{qid},
|
FAQ_questionId => $session{form}{qid},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue