From 434328e654f5aebd8da8971c98533d9a2a3b3ccc Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 22 Jan 2011 02:20:04 +0000 Subject: do not need {} around quoted variables surrounded by quotes git-svn-id: http://code.elgg.org/elgg/trunk@7895 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/private_settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/private_settings.php') 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; -- cgit v1.2.3