fixed from error
This commit is contained in:
@@ -107,7 +107,7 @@ class Renderer {
|
||||
}
|
||||
|
||||
public function render(): void {
|
||||
if (trim(filter_input(INPUT_POST, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS)) !== '') {
|
||||
if (filter_input(INPUT_POST, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS) !== NULL && trim(filter_input(INPUT_POST, 'action', FILTER_SANITIZE_FULL_SPECIAL_CHARS)) !== '') {
|
||||
$this->formAction();
|
||||
}
|
||||
$this->website = file_get_contents('templates/page.html');
|
||||
|
||||
Reference in New Issue
Block a user