Skip to content

Commit 64060a4

Browse files
author
Marius Cramer
committed
- fixed installer mysql lib
1 parent a6a094a commit 64060a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install/lib/mysql.lib.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private function do_connect() {
6969

7070
if($this->_iConnId) return true;
7171
$this->dbHost = $conf["mysql"]["host"];
72-
$this->dbName = '';
72+
$this->dbName = $conf["mysql"]["database"];
7373
$this->dbUser = $conf["mysql"]["admin_user"];
7474
$this->dbPass = $conf["mysql"]["admin_password"];
7575
$this->dbCharset = $conf["mysql"]["charset"];
@@ -178,7 +178,6 @@ private function _query($sQuery = '') {
178178

179179
$this->do_connect();
180180

181-
//if($this->isConnected == false) return false;
182181
if ($sQuery == '') {
183182
$this->_sqlerror('Keine Anfrage angegeben / No query given');
184183
return false;

0 commit comments

Comments
 (0)