瀏覽代碼

Check title length

Bob Mottram 8 年之前
父節點
當前提交
983cef44fa
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. 2
    1
      src/freedombone-utils-interactive

+ 2
- 1
src/freedombone-utils-interactive 查看文件

@@ -221,7 +221,8 @@ function interactive_site_details_with_title {
221 221
                 fi
222 222
             fi
223 223
         fi
224
-        if [ ${!SITE_TITLE} ]; then
224
+        site_title_str="${!SITE_TITLE}"
225
+        if [ ${#site_title_str} -gt 0 ]; then
225 226
             if [ ${!SITE_DOMAIN_NAME} ]; then
226 227
                 SITE_DETAILS_COMPLETE="yes"
227 228
             fi