Index: WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 350)
+++ WAeUP_SRP/trunk/skins/waeup_custom/standard_error_message.pt	(revision 351)
@@ -12,5 +12,5 @@
 <metal:main fill-slot="main">
 
-<tal:haserror condition="python: 1 or error_type">
+<tal:haserror condition="error_type">
   <tal:NotFound condition="python:error_type == 'NotFound'">
     <metal:block use-macro="here/error_lib_not_found/macros/not_found" />
@@ -21,5 +21,5 @@
   </tal:default>
 
-  <tal:debugging condition="python:1 or checkPerm('Manage portal', here)">
+  <tal:debugging condition="python:checkPerm('Manage portal', here)">
     <table width="100%" cellpadding="2" cellspacing="2">
       <tr>
