diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2017-05-10 06:48:11 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2017-05-10 06:48:11 +0300 |
commit | e2a5b2298548b545f757655bf51135456bb728a2 (patch) | |
tree | 067d21d7f7d64e2f226fbd70d6118ba1642821f5 /plugins/CoreHome/Widgets | |
parent | 859810aeda6bcf9ad8a939a857ea97a42e0666a5 (diff) |
fix wrong value was used for mysql and php version
Diffstat (limited to 'plugins/CoreHome/Widgets')
-rw-r--r-- | plugins/CoreHome/Widgets/GetSystemSummary.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/Widgets/GetSystemSummary.php b/plugins/CoreHome/Widgets/GetSystemSummary.php index ba7c500506..a90d7b0586 100644 --- a/plugins/CoreHome/Widgets/GetSystemSummary.php +++ b/plugins/CoreHome/Widgets/GetSystemSummary.php @@ -66,8 +66,8 @@ class GetSystemSummary extends Widget Piwik::postEvent('System.addSystemSummaryItems', array(&$systemSummary)); $systemSummary[] = new Item($key = 'piwik-version', Piwik::translate('CoreHome_SystemSummaryPiwikVersion'), Version::VERSION, $url = null, $icon = '', $order = 21); - $systemSummary[] = new Item($key = 'php-version', Piwik::translate('CoreHome_SystemSummaryMysqlVersion'), phpversion(), $url = null, $icon = '', $order = 22); - $systemSummary[] = new Item($key = 'mysql-version', Piwik::translate('CoreHome_SystemSummaryPhpVersion'), $mysqlVersion, $url = null, $icon = '', $order = 23); + $systemSummary[] = new Item($key = 'php-version', Piwik::translate('CoreHome_SystemSummaryMysqlVersion'), $mysqlVersion, $url = null, $icon = '', $order = 22); + $systemSummary[] = new Item($key = 'mysql-version', Piwik::translate('CoreHome_SystemSummaryPhpVersion'), phpversion(), $url = null, $icon = '', $order = 23); $systemSummary = array_filter($systemSummary); usort($systemSummary, function ($itemA, $itemB) { |