diff options
Diffstat (limited to 'engine/lib/configuration.php')
-rw-r--r-- | engine/lib/configuration.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index 9e1b82880..c79aff2d6 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -379,7 +379,8 @@ function set_config($name, $value, $site_guid = 0) { $query = "insert into {$CONFIG->dbprefix}config" . " set name = '{$name}', value = '{$value}', site_guid = {$site_guid}"; - return insert_data($query); + $result = insert_data($query); + return $result !== false; } /** |