Skip to content

Commit 17b3aee

Browse files
committed
Upgrade bugfix
1 parent 8f469d0 commit 17b3aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ function updateSQLiteDB($db_path = false) {
16531653
reset($tableData);
16541654
foreach($tableData as $key => $value) {
16551655
$insertValues[] = '('.implode(',',array_map(function($d) {
1656-
return (isset($d)?"'".addslashes($d)."'":'null');
1656+
return (isset($d)?"'".SQLite3::escapeString($d)."'":'null');
16571657
}, $value)).')';
16581658
}
16591659
$GLOBALS['file_db']->query($queryBase.implode(',',$insertValues).';');

0 commit comments

Comments
 (0)