Преглед на файлове

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>