Skip to content

Commit

Permalink
Prevent warning on php8.1 (#14)
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
baukezwaan committed Apr 12, 2023
1 parent b939c15 commit d33de83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScaledUploads.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function onAfterLoadIntoFile($file)
}

// get parent folder path
$folder = rtrim($file->Parent()->getFilename(), '/');
$folder = rtrim(strval($file->Parent()->getFilename()), '/');

$custom_folders = $this->config()->get('custom_folders');

Expand Down

0 comments on commit d33de83

Please sign in to comment.