aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-13 19:19:47 +0000
committermistic100 <mistic@piwigo.org>2014-06-13 19:19:47 +0000
commit7c263a2dd2a6d41187d1664454c68c64dcfd6527 (patch)
tree00bbfc6ef393393d6df00b230dae5fbd7286f784 /include
parentb153d19474c6cc1a48ba73df15f65b27bae9fc4f (diff)
correctly stringify booleans in conf_update_param
git-svn-id: http://piwigo.org/svn/trunk@28691 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 9c919994f..f69c6e61b 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1178,7 +1178,7 @@ function conf_update_param($param, $value, $updateGlobal=false, $parser=null)
}
else
{
- $dbValue = $value;
+ $dbValue = boolean_to_string($value);
}
$query = '