diff options
author | Janek Lasocki-Biczysko <j.lasocki-biczysko@intrallect.com> | 2012-01-27 16:39:47 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-02-03 07:21:31 -0500 |
commit | 8950174d05884af92ba8c75608e4f32234d965b4 (patch) | |
tree | c57cd2d1ee1207602bd12e442c55b7add4401794 /engine | |
parent | 3c1663c182de1744d639134cd121f4aafa2f379e (diff) | |
download | elgg-8950174d05884af92ba8c75608e4f32234d965b4.tar.gz elgg-8950174d05884af92ba8c75608e4f32234d965b4.tar.bz2 |
response from insert_data needs to be checked for !== FALSE
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/configuration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index 7f787331f..d32a5c4b6 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -303,7 +303,7 @@ function datalist_set($name, $value) { . " set name = '{$sanitised_name}', value = '{$sanitised_value}'" . " ON DUPLICATE KEY UPDATE value='{$sanitised_value}'"); - if ($success) { + if ($success !== FALSE) { $DATALIST_CACHE[$name] = $value; return true; } else { |