Przeglądaj źródła

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

fix mail:from undefined
Yuki Takei 6 lat temu
rodzic
commit
36198c299e
1 zmienionych plików z 1 dodań i 1 usunięć
  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>