urlencode Error in url.php Line 52
zed76 opened this issue · comments
I got a PHP error urlencode(): Passing null to parameter #1 ($string) of type string is deprecated Url.php Line 52
on ressource calendar view. I fixed it by adding ?? ''
in lib/Server/Url.php Line 52, so it's now $this->url .= sprintf("$char%s=%s", $name, urlencode($value ?? ''));
instead of $this->url .= sprintf("$char%s=%s", $name, urlencode($value));
- i don't know, if this is the correct way, but for now it works for me.
Thx a lot for your work keeping this project up and running.
Tobi