Skip to content

Commit b32e1fb

Browse files
committed
fix: added missing escaping of values
1 parent d45ff69 commit b32e1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/src/phpMyFAQ/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ public function update(array $newConfigs): bool
463463
Database::getTablePrefix(),
464464
$this->tableName,
465465
$this->getDb()->escape(trim($value)),
466-
$name
466+
$this->getDb()->escape($name)
467467
);
468468

469469
$this->getDb()->query($update);

0 commit comments

Comments
 (0)