[Erp5-report] r26341 - /erp5/trunk/products/ERP5/Document/WebSite.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 7 17:46:07 CEST 2009


Author: fabien
Date: Tue Apr  7 17:46:01 2009
New Revision: 26341

URL: http://svn.erp5.org?rev=26341&view=rev
Log:
revert the r26321 because it breaks all links in the web search.

Modified:
    erp5/trunk/products/ERP5/Document/WebSite.py

Modified: erp5/trunk/products/ERP5/Document/WebSite.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSite.py?rev=26341&r1=26340&r2=26341&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSite.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/WebSite.py [utf8] Tue Apr  7 17:46:01 2009
@@ -85,7 +85,7 @@
         i += 1
       # Insert the web site path after the common part of the path
       if path_len > common_index + 1:
-        path = website_path[0:common_index+1] + path[common_index + 1:]
+        path = website_path + path[common_index + 1:]
     rpp = request.other.get('VirtualRootPhysicalPath', ('', ))
     i = 0
     for name in rpp[:len(path)]:




More information about the Erp5-report mailing list