From 6e5d9538f7a47de9dcd688374cdf15efa504996a Mon Sep 17 00:00:00 2001 From: Zauberfisch Date: Tue, 15 Jul 2014 10:43:43 +0000 Subject: [PATCH] Fixed wrong use of Config system --- code/BootstrapForm.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/BootstrapForm.php b/code/BootstrapForm.php index edf52f0..11f6589 100755 --- a/code/BootstrapForm.php +++ b/code/BootstrapForm.php @@ -38,7 +38,7 @@ class BootstrapForm extends Form { * @param bool $bool */ public static function set_bootstrap_included($bool = true) { - Config::inst()->set("BootstrapForm","bootstrap_included",$bool); + Config::inst()->update("BootstrapForm", "bootstrap_included", $bool); } @@ -51,7 +51,7 @@ public static function set_bootstrap_included($bool = true) { * @param bool $bool */ public static function set_jquery_included($bool = true) { - Config::inst()->set("BootstrapForm","jquery_included",$bool); + Config::inst()->update("BootstrapForm", "jquery_included", $bool); } @@ -149,4 +149,4 @@ public function forTemplate() { -} \ No newline at end of file +}