Author: ilgrosso
Date: Tue Oct  7 09:39:34 2014
New Revision: 1629837

URL: http://svn.apache.org/r1629837
Log:
[SYNCOPE-561] Applying provided patch

Modified:
    syncope/branches/1_2_X/core/src/main/resources/report/userReportlet2html.xsl

Modified: 
syncope/branches/1_2_X/core/src/main/resources/report/userReportlet2html.xsl
URL: 
http://svn.apache.org/viewvc/syncope/branches/1_2_X/core/src/main/resources/report/userReportlet2html.xsl?rev=1629837&r1=1629836&r2=1629837&view=diff
==============================================================================
--- 
syncope/branches/1_2_X/core/src/main/resources/report/userReportlet2html.xsl 
(original)
+++ 
syncope/branches/1_2_X/core/src/main/resources/report/userReportlet2html.xsl 
Tue Oct  7 09:39:34 2014
@@ -156,9 +156,11 @@ under the License.
           <h5>THIS USER ISN'T ASSIGNED TO A ROLE</h5>
         </xsl:otherwise>
       </xsl:choose>
-      <xsl:call-template name="resources">
-        <xsl:with-param name="node" select="resources/resource"/>
-      </xsl:call-template>
+      <xsl:if test="string-length(resources) &gt; 0">
+          <xsl:call-template name="resources">
+              <xsl:with-param name="node" select="resources/resource"/>
+          </xsl:call-template>
+      </xsl:if>
       <hr/>
     </xsl:for-each>
        


Reply via email to