Przeglądaj źródła

fix mail:from undefined

mizozobu 7 lat temu
rodzic
commit
bfbaf58270
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>