We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f469d0 commit 17b3aeeCopy full SHA for 17b3aee
functions.php
@@ -1653,7 +1653,7 @@ function updateSQLiteDB($db_path = false) {
1653
reset($tableData);
1654
foreach($tableData as $key => $value) {
1655
$insertValues[] = '('.implode(',',array_map(function($d) {
1656
- return (isset($d)?"'".addslashes($d)."'":'null');
+ return (isset($d)?"'".SQLite3::escapeString($d)."'":'null');
1657
}, $value)).')';
1658
}
1659
$GLOBALS['file_db']->query($queryBase.implode(',',$insertValues).';');
0 commit comments