Sfoglia il codice sorgente

fix mail:from undefined

mizozobu 6 anni fa
parent
commit
bfbaf58270
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>