Skip to content

Commit

Permalink
[TASK] Fix PHP style
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitsko authored Feb 1, 2024
1 parent 5d28177 commit 22c2d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Database/RteImagesDbHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function transform_rte(

if ($attribArray['data-htmlarea-file-uid'] ?? false) {
// Prevent querying the root directory, this causes open_basedir warnings
if ($imageSource === '' || (!(str_starts_with($imageSource, '/')) && !is_file($imageSource)) ) {
if ($imageSource === '' || (!(str_starts_with($imageSource, '/')) && !is_file($imageSource))) {
$imageSource = $this->getProcessedFile($attribArray);
}
}
Expand Down

0 comments on commit 22c2d95

Please sign in to comment.