Skip to content

Commit 52b7de6

Browse files
author
Till Brehm
committed
Merge branch 'patch-1' into 'master'
Fixed error $this to $inst See merge request !529
2 parents dbfbba7 + bb41e4e commit 52b7de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/update.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function updateDbAndIni() {
124124
global $inst, $conf;
125125

126126
//* ensure no modes with errors for ENGINE=MyISAM
127-
$this->db->query("SET sql_mode = ''");
127+
$inst->db->query("SET sql_mode = ''");
128128

129129
//* Update $conf array with values from the server.ini that shall be preserved
130130
$tmp = $inst->db->queryOneRecord("SELECT * FROM ?? WHERE server_id = ?", $conf["mysql"]["database"] . '.server', $conf['server_id']);

0 commit comments

Comments
 (0)