Skip to content

Commit 3639beb

Browse files
committed
Add a space for log readablilty
In the example belog failed and PHP were joined without a space ... "Database connection failedPHP Warning: mysqli_real_connect()"
1 parent 4e7be39 commit 3639beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/db_mysql.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ private function _sqlerror($sErrormsg = 'Unbekannter Fehler', $sAddMsg = '', $bN
559559
} elseif(is_object($app) && method_exists($app, 'log') && $bNoLog == false) {
560560
$app->log($sErrormsg . $sAddMsg . ' -> ' . $mysql_errno . ' (' . $mysql_error . ')', LOGLEVEL_WARN, false);
561561
} elseif(php_sapi_name() == 'cli') {
562-
echo $sErrormsg . $sAddMsg;
562+
echo $sErrormsg . ' ' . $sAddMsg;
563563
}
564564
}
565565

0 commit comments

Comments
 (0)