From d8967804ddcd7293aa4e817ededaf58be94c6df1 Mon Sep 17 00:00:00 2001 From: Calvo Date: Wed, 16 Nov 2022 09:32:08 +0100 Subject: [PATCH] Change vc console backgroud blankspace with its entity --- .../include/rest-api/models/VisualConsole/Container.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/rest-api/models/VisualConsole/Container.php b/pandora_console/include/rest-api/models/VisualConsole/Container.php index be59b74d4e..04e874a5ba 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Container.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Container.php @@ -181,7 +181,7 @@ final class Container extends Model null ); - return ($backgroundImage === 'None.png') ? null : str_replace(' ', '_', $backgroundImage); + return ($backgroundImage === 'None.png') ? null : str_replace(' ', '%20', $backgroundImage); }