We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab34cce commit 5c4d7c2Copy full SHA for 5c4d7c2
Embed/Url.php
@@ -416,7 +416,7 @@ public function setPath ($path) {
416
* Return the url path
417
*/
418
public function getPath ($file = false) {
419
- $path = isset($this->info['path']) && !empty($this->info['path']) ? '/'.implode('/', $this->info['path']).'/' : '/';
+ $path = !empty($this->info['path']) ? '/'.implode('/', $this->info['path']).'/' : '/';
420
421
if ($file && !empty($this->info['file'])) {
422
$path .= $this->info['file'];
0 commit comments