diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php index a225bc3a4c61..d6412f38dd12 100644 --- a/system/Debug/Toolbar.php +++ b/system/Debug/Toolbar.php @@ -161,9 +161,7 @@ public function run(float $startTime, float $totalTime, RequestInterface $reques $data['config'] = Config::display(); - if ($response->getCSP() !== null) { - $response->getCSP()->addImageSrc('data:'); - } + $response->getCSP()->addImageSrc('data:'); return json_encode($data); }