diff --git a/include/profile.inc.php b/include/profile.inc.php
index f641505db..4c2b4e44d 100644
--- a/include/profile.inc.php
+++ b/include/profile.inc.php
@@ -355,10 +355,20 @@ echo '
';
if (isset($_POST['p_id']))
{
require_once NOALYSS_INCLUDE.'/ajax_get_profile.php';
+ ?>
+
+';
if ( isset($_POST['delete_profil'] ))
{
echo create_script(" $('detail_profile').hide()");
+?>
+
+