Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_plugin.php @ 19:b6a96bdd6b29
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Wed, 08 Oct 2025 08:50:44 -0400 |
| parents | dd5ed6ef69c9 |
| children |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_plugin.php Tue Oct 07 11:20:40 2025 -0400 +++ b/program/lib/Roundcube/rcube_plugin.php Wed Oct 08 08:50:44 2025 -0400 @@ -376,7 +376,7 @@ if ($this->api->output->type == 'html') { // fix relative paths foreach (array('imagepas', 'imageact', 'imagesel') as $key) { - if ($p[$key]) { + if ($p[$key]??null) { $p[$key] = $this->api->url . $this->resource_url($p[$key]); } }
