Skip to content

Commit

Permalink
FIX Cast absoluteUrl() argument to string
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 8, 2022
1 parent 38328d8 commit 5b0197f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Controller/AssetAdminFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function updateCMSEditLink(&$link)
{
// Update edit link for this file to point to the new asset admin
$controller = AssetAdmin::singleton();
$link = Director::absoluteURL($controller->getFileEditLink($this->owner));
$link = Director::absoluteUrl((string) $controller->getFileEditLink($this->owner));
}

/**
Expand Down

0 comments on commit 5b0197f

Please sign in to comment.