Fixed: data validation in offline refuel create form
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 12s

This commit is contained in:
2025-02-03 19:54:58 +01:00
parent c14bbd1930
commit 3d86f1ae2e
3 changed files with 66 additions and 34 deletions

View File

@ -7,6 +7,11 @@ class View
// Store the data
$this->data = $data;
// check for status code in data
if(isset($this->data['status'])){
http_response_code($this->data['status']);
}
// Capture the view content
ob_start();
require_once views . $view . '.php';