diff --git a/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl b/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl
index 42092bf7..1a7e74d2 100644
--- a/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl
+++ b/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl
@@ -1,3 +1,5 @@
+{if $oUserProfile}
+
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
@@ -23,4 +25,6 @@
{if $oUserProfile->getProfileFoto()}
{/if}
-
\ No newline at end of file
+
+
+{/if}
\ No newline at end of file
diff --git a/templates/skin/developer/actions/ActionProfile/sidebar.tpl b/templates/skin/developer/actions/ActionProfile/sidebar.tpl
index c2cab9aa..daadc1e4 100644
--- a/templates/skin/developer/actions/ActionProfile/sidebar.tpl
+++ b/templates/skin/developer/actions/ActionProfile/sidebar.tpl
@@ -1,3 +1,5 @@
+{if $oUserProfile}
+
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
@@ -23,4 +25,6 @@
{if $oUserProfile->getProfileFoto()}
{/if}
-
\ No newline at end of file
+
+
+{/if}
\ No newline at end of file
diff --git a/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl b/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl
index 42092bf7..1a7e74d2 100644
--- a/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl
+++ b/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl
@@ -1,3 +1,5 @@
+{if $oUserProfile}
+
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
@@ -23,4 +25,6 @@
{if $oUserProfile->getProfileFoto()}
{/if}
-
\ No newline at end of file
+
+
+{/if}
\ No newline at end of file