Skip to content

Commit dab5e05

Browse files
authored
Merge pull request dokuwiki#4460 from fiwswe/fix_4459
Don't complain about changed download URLs when plugin repository is …
2 parents 67c239b + 2ee9c30 commit dab5e05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/plugins/extension/Extension.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ public function hasChangedURL()
507507
{
508508
$last = $this->getManager()->getDownloadURL();
509509
if (!$last) return false;
510-
return $last !== $this->getDownloadURL();
510+
$url = $this->getDownloadURL();
511+
if (!$url) return false;
512+
return $last !== $url;
511513
}
512514

513515
/**

0 commit comments

Comments
 (0)