瀏覽代碼

fix #29: misspelled varname

George S. Baugh 5 年之前
父節點
當前提交
4f1b151f47
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.";
     }