aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/private_settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/private_settings.php b/engine/lib/private_settings.php
index 366e8cb39..bf81e4a3a 100644
--- a/engine/lib/private_settings.php
+++ b/engine/lib/private_settings.php
@@ -511,7 +511,7 @@ function set_private_setting($entity_guid, $name, $value) {
$result = insert_data("INSERT into {$CONFIG->dbprefix}private_settings
(entity_guid, name, value) VALUES
- ($entity_guid, '{$name}', '{$value}')
+ ($entity_guid, '$name', '$value')
ON DUPLICATE KEY UPDATE value='$value'");
if ($result === 0) {
return true;