This commit is contained in:
Fabian Berg
2025-01-07 09:59:55 +01:00
committed by GitHub
parent 2f8ee3e796
commit fa0e1d98df

View File

@@ -3,7 +3,7 @@
class Staticmap extends CI_Controller {
public function render($slug) {
public function render($slug = '') {
// set to true to remove cached imaged for debugging pruposes
$debugging = false;
@@ -15,7 +15,7 @@ class Staticmap extends CI_Controller {
$this->load->model('stationsetup_model');
$this->load->model('visitor_model');
$slug = $this->security->xss_clean($slug) ?? '';
$slug = $this->security->xss_clean($slug);
if (empty($slug)) {
show_404(__("Unknown Public Page."));
}