Projekt

Allgemein

Profil

GX-Bug #42279 » refs_#41773_[Updater]_Wenn_der_Port_ein_leerer_String_ist,_kann_keine_Verbindung_zur_MySQL.patch

Till Tepelmann, 18.05.2015 15:10

Unterschiede anzeigen:

src/gambio_updater/classes/DatabaseModel.inc.php (revision )
50 50
				}
51 51
				$t_db_host = $t_db_host[0];
52 52
			}
53

  
54
            if($t_db_port=='') $t_db_port = null;
55

  
56
            if($t_db_socket=='') $t_db_socket = null;
57

  
53 58
			$this->coo_mysqli = new mysqli($t_db_host, $t_db_user, $t_db_password, $t_db_name,$t_db_port,$t_db_socket);
54 59
			$this->sql_errors = array();
55 60

  
    (1-1/1)