Actions
Bug #1365
closedDoesnt complain if method title is not provided
Start date:
03/09/2004
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
1365
Description
Andhrea reported this. She entered a document with method para but no title and
it didn't complain. The document was entered and the resultant document didnt
have any method entry in it. Hence this needs to be checked.
Updated by Saurabh Garg over 20 years ago
Fixed. If only one para was entered, the following code was failiing
if ((hasContent($FORM::methodTitle)) || scalar(@FORM::methodsPara) > 0) {
Replaced it with:
if ((hasContent($FORM::methodTitle)) || scalar(@FORM::methodsPara) > 0 ||
($FORM::methodPara0 ne "")) {
Actions