Skip to content

Commit bb41e4e

Browse files
committed
Fixed error $this to $inst
1 parent dbfbba7 commit bb41e4e

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)