Skip to content

Commit

Permalink
Allow linking 5.7 doc links
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jul 20, 2015
1 parent 6adb96f commit 12a4c93
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/Util.class.php
Expand Up @@ -454,7 +454,9 @@ public static function getMySQLDocuURL($link, $anchor = '')
$mysql = '5.5';
$lang = 'en';
if (defined('PMA_MYSQL_INT_VERSION')) {
if (PMA_MYSQL_INT_VERSION >= 50600) {
if (PMA_MYSQL_INT_VERSION >= 50700) {
$mysql = '5.7';
} else if (PMA_MYSQL_INT_VERSION >= 50600) {
$mysql = '5.6';
} else if (PMA_MYSQL_INT_VERSION >= 50500) {
$mysql = '5.5';
Expand Down

0 comments on commit 12a4c93

Please sign in to comment.