aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 02:20:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-22 02:20:04 +0000
commit434328e654f5aebd8da8971c98533d9a2a3b3ccc (patch)
treec07f91c225c3b2d46fec5321575813519b56ca8f /engine
parenta6b8576c953b2154322a327f2defe0955f6c168d (diff)
downloadelgg-434328e654f5aebd8da8971c98533d9a2a3b3ccc.tar.gz
elgg-434328e654f5aebd8da8971c98533d9a2a3b3ccc.tar.bz2
do not need {} around quoted variables surrounded by quotes
git-svn-id: http://code.elgg.org/elgg/trunk@7895 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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;