Skip to content

Commit dd34962

Browse files
committed
fixed truncate-query for update.php
1 parent 10d6852 commit dd34962

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
@@ -396,7 +396,7 @@ function updateDbAndIni() {
396396
unset($new_ini);
397397

398398
// Truncate sys_session
399-
$inst->db->query("TRUNCATE sys_session");
399+
$inst->db->query('TRUNCATE ??', $conf['mysql']['database'].'sys_session');
400400
}
401401

402402

0 commit comments

Comments
 (0)