Parcourir la source

Check title length

Bob Mottram il y a 8 ans
Parent
révision
983cef44fa
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      src/freedombone-utils-interactive

+ 2
- 1
src/freedombone-utils-interactive Voir le fichier

@@ -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