Changes by CLaude
Build and Deploy / build (push) Failing after 44s

This commit is contained in:
root committed 2026-08-18 09:31:05 -01:00
1 parent 9bee381f6c
commit 30893eb7a7
21 files changed
+276 -85

No files matched your search

+4 -2
View File
@@ -4,11 +4,13 @@ namespace Model;
class NewsRegion {
public $title;
public $titel; // Support both English and Dutch spelling
public $slug;
public function __construct($title, $slug = null) {
public function __construct($title = null, $slug = null) {
$this->title = $title;
$this->slug = $slug ? $slug : strtolower(str_replace(' ', '', $title));
$this->titel = $title; // Also set titel for compatibility with API responses
$this->slug = $slug ? $slug : ($title ? strtolower(str_replace(' ', '', $title)) : null);
}
}