Skip to content
Extraits de code Groupes Projets
Valider 1b1baf36 rédigé par Thomas Steur's avatar Thomas Steur Validation de Matthieu Aubry
Parcourir les fichiers

make sure to ignore any extra part in the php version (#10573)

parent e6971b41
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -123,9 +123,14 @@ class MarketplaceApiClient ...@@ -123,9 +123,14 @@ class MarketplaceApiClient
return array(); return array();
} }
private function getPhpVersion()
{
return PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION;
}
private function fetch($action, $params) private function fetch($action, $params)
{ {
$params['php'] = phpversion(); $params['php'] = $this->getPhpVersion();
$params['piwik'] = Version::VERSION; $params['piwik'] = Version::VERSION;
$params['prefer_stable'] = '1'; $params['prefer_stable'] = '1';
ksort($params); ksort($params);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter