mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17336] Fix usage of a leaked loop-scoped variable
PHPBB-17336 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
5229813c47
commit
0a20edf6b4
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ class installer
|
|||
$available[$name]['composer_name'] = $highest_version->getName();
|
||||
$available[$name]['version'] = $highest_version->getPrettyVersion();
|
||||
|
||||
if ($version instanceof CompletePackage)
|
||||
if ($highest_version instanceof CompletePackage)
|
||||
{
|
||||
$available[$name]['description'] = $highest_version->getDescription();
|
||||
$available[$name]['url'] = $highest_version->getHomepage();
|
||||
|
|
Loading…
Add table
Reference in a new issue