diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_countMyContentList.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_countMyContentList.xml
index 45fb3645ca9c088cfc3c9fc173c4f8a7c195a212..65e648717666549b7af0942fdfe2fe62e4e058c7 100644
--- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_countMyContentList.xml
+++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_countMyContentList.xml
@@ -60,6 +60,9 @@
 if context.getPortalType() == \'Person\':\n
   # If context is a person, get the user\n
   user = context.getReference()\n
+  if user is None:\n
+    # no way to determine documents if we have no reference\n
+    return [[0]]\n
   return context.ContributionTool_countMyContentList(user=user, **kw)\n
 else:\n
   return context.ContributionTool_countMyContentList(**kw)\n
diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_getMyContentList.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_getMyContentList.xml
index fccdf7bbd0769132ccc0ace70fec5f1b210b70d7..f116e031e6a2ffccde65ade2586457f83242908b 100644
--- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_getMyContentList.xml
+++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km/WebSection_getMyContentList.xml
@@ -60,6 +60,9 @@
 if context.getPortalType() == \'Person\':\n
   # If context is a person, get the user\n
   user = context.getReference()\n
+  if user is None:\n
+    # no way to determine documents if we have no reference\n
+    return []\n
   return context.ContributionTool_getMyContentList(user=user, **kw)\n
 else:\n
   return context.ContributionTool_getMyContentList(**kw)\n
diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Person_viewAsWeb/latest_content_listbox.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Person_viewAsWeb/latest_content_listbox.xml
index a2a2e8646345b5270dc7924a38aceaa1f17c4a88..8a2223805271aaeb1c012b8c2bb8e1b282c84080 100644
--- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Person_viewAsWeb/latest_content_listbox.xml
+++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Person_viewAsWeb/latest_content_listbox.xml
@@ -370,7 +370,9 @@
                 </item>
                 <item>
                     <key> <string>count_method</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>css_class</string> </key>
@@ -457,7 +459,7 @@
                 <item>
                     <key> <string>list_method</string> </key>
                     <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+                      <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
                     </value>
                 </item>
                 <item>
@@ -600,6 +602,19 @@
     </pickle>
   </record>
   <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="Method" module="Products.Formulator.MethodField"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>method_name</string> </key>
+            <value> <string>WebSection_countMyContentList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
     <pickle>
       <global name="Method" module="Products.Formulator.MethodField"/>
     </pickle>
diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision
index 8fab08b526665e6459f8dda4fb601549d02fd62a..7dd08159a2d794f48c9cc360dfc408f1fdcc9ff5 100644
--- a/bt5/erp5_km/bt/revision
+++ b/bt5/erp5_km/bt/revision
@@ -1 +1 @@
-1752
\ No newline at end of file
+1753
\ No newline at end of file