Fixed NULL notes causing issue
Fixed isue where having null in notes value meant the textarea didnt close out
This commit is contained in:
parent
ec901e9620
commit
33a680de0e
|
@ -2124,7 +2124,11 @@ class idlers extends helperFunctions
|
|||
$this->rowColOpen('row m-section-row', 'col-12 text-center');
|
||||
$this->htmlPhrase('p', 'm-section-text', 'Notes');
|
||||
$this->outputString("<textarea class='form-control' id='server_notes' name='server_notes' rows='4' cols='40' maxlength='255' disabled>");
|
||||
if (is_null($data['notes']) || empty($data['notes'])){
|
||||
$this->outputString('');
|
||||
} else {
|
||||
$this->outputString($data['notes']);
|
||||
}
|
||||
$this->outputString("</textarea>");
|
||||
$this->tagClose('div', 2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user