You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-11-11 04:42:23 +03:00
Another fix against bug #582890.
This commit is contained in:
@@ -29,7 +29,7 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')){
|
||||
}
|
||||
|
||||
if (isset($cfg['Servers'])) {
|
||||
for ($i=1; (isset($cfg['Servers'][$i]['host']) && !empty($cfg['Servers'][$i]['host'])); $i++) {
|
||||
for ($i=1; (!empty($cfg['Servers'][$i]['host']) || (isset($cfg['Servers'][$i]['connect_type']) && $cfg['Servers'][$i]['connect_type'] == 'socket')); $i++) {
|
||||
if (!isset($cfg['Servers'][$i]['port'])) {
|
||||
$cfg['Servers'][$i]['port'] = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user