Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from lxlang/master
Browse files Browse the repository at this point in the history
[php7.4] Remove deprecated string offset operator.
  • Loading branch information
mensler authored Mar 9, 2020
2 parents 7f4162b + 308ba2d commit 3823ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/dataBackend/file/FileDataBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public function update()
$uriPicker = new FallbackURIPicker();
$path = $uriPicker->pickURI($content);

if (strlen($path) > 0 && $path{0} != "/") {
if (strlen($path) > 0 && $path[0] != "/") {
$path = sprintf("/%s/%s", dirname(self::DOWNLOAD_URI), $path);

}
Expand Down

0 comments on commit 3823ca3

Please sign in to comment.