Explorar o código

fix #29: misspelled varname

George S. Baugh %!s(int64=5) %!d(string=hai) anos
pai
achega
4f1b151f47
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Trog/Routes/HTML.pm

+ 1 - 1
lib/Trog/Routes/HTML.pm

@@ -389,7 +389,7 @@ sub config_save ($query, $input, $render_cb) {
 
     $query->{failure} = 1;
     $query->{message} = "Failed to save configuration!";
-    if ($conf->save($Trog::Config::home_config)) {
+    if ($conf->write($Trog::Config::home_cfg)) {
         $query->{failure} = 0;
         $query->{message} = "Configuration updated succesfully.";
     }