]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
do not need {} around quoted variables surrounded by quotes
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 Jan 2011 02:20:04 +0000 (02:20 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 Jan 2011 02:20:04 +0000 (02:20 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7895 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/private_settings.php

index 366e8cb39023145d10f8198ea3a09724537198b3..bf81e4a3a1ce924e5affb91f56d713101ba0b94d 100644 (file)
@@ -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;