Skip to content

Commit

Permalink
Merge pull request #29 from Zauberfisch/patch-1
Browse files Browse the repository at this point in the history
Fixed wrong use of Config system
  • Loading branch information
unclecheese committed Jul 15, 2014
2 parents accafa0 + 6e5d953 commit a95a572
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/BootstrapForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand All @@ -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);
}


Expand Down Expand Up @@ -149,4 +149,4 @@ public function forTemplate() {



}
}

0 comments on commit a95a572

Please sign in to comment.