Skip to content

Commit

Permalink
fix possible error in system info on multi-site installs
Browse files Browse the repository at this point in the history
  • Loading branch information
pryley committed May 31, 2019
1 parent afee9eb commit c794b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/Modules/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ protected function isWebhostCheckValid( $key )
protected function normalizePluginList( array $plugins )
{
$plugins = array_map( function( $plugin ) {
return sprintf( '%s v%s', $plugin['Name'], $plugin['Version'] );
return sprintf( '%s v%s', glsr_get( $plugin, 'Name' ), glsr_get( $plugin, 'Version' ));
}, $plugins );
natcasesort( $plugins );
return array_flip( $plugins );
Expand Down

0 comments on commit c794b6e

Please sign in to comment.