From d7c8cd83a4bda892eb83cb09e5449744fdbbd566 Mon Sep 17 00:00:00 2001
From: Mitesh Shah <Mr.Miteshah@gmail.com>
Date: Wed, 25 Jun 2014 12:57:57 +0530
Subject: [PATCH] Minor fix

---
 src/modules/site/create/ee_mod_setup_wordpress.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/site/create/ee_mod_setup_wordpress.sh b/src/modules/site/create/ee_mod_setup_wordpress.sh
index e9732912..840b0088 100644
--- a/src/modules/site/create/ee_mod_setup_wordpress.sh
+++ b/src/modules/site/create/ee_mod_setup_wordpress.sh
@@ -29,9 +29,6 @@ function ee_mod_setup_wordpress()
 		done
 	fi
 
-	# Let's log WordPress table prefix
-	echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG
-
 	# If wordpress.prefix = false 
 	# 		Then it never ask for WordPress prefix in this case $EE_WP_PREFIX is empty
 	# If wordpress.prefix = true
@@ -43,6 +40,9 @@ function ee_mod_setup_wordpress()
 		EE_WP_PREFIX=wp_
 	fi
 
+	# Let's log WordPress table prefix
+	echo EE_WP_PREFIX = $EE_WP_PREFIX &>> $EE_COMMAND_LOG
+
 	# Modify wp-config.php & move outside the webroot
 	cp /var/www/$EE_DOMAIN/htdocs/wp-config-sample.php \
 	/var/www/$EE_DOMAIN/wp-config.php