瀏覽代碼

Merge pull request #1071 from weseek/fix/abolish-old-config-api-app

fix mail:from undefined
Yuki Takei 7 年之前
父節點
當前提交
36198c299e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/server/views/admin/app.html

+ 1 - 1
src/server/views/admin/app.html

@@ -181,7 +181,7 @@
                    type="text"
                    name="settingForm[mail:from]"
                    placeholder="{{ t('eg') }} mail@growi.org"
-                   value="{{ getConfig('crowi', 'mail:from') }}">
+                   value="{{ getConfig('crowi', 'mail:from') | default('') }}">
           </div>
         </div>