Author: ilgrosso
Date: Tue Oct  7 09:40:27 2014
New Revision: 1629839

URL: http://svn.apache.org/r1629839
Log:
[SYNCOPE-561] Merge from 1_2_X

Modified:
    syncope/trunk/   (props changed)
    syncope/trunk/core/src/main/resources/report/userReportlet2html.xsl

Propchange: syncope/trunk/
------------------------------------------------------------------------------
  Merged /syncope/branches/1_2_X:r1629823-1629837

Modified: syncope/trunk/core/src/main/resources/report/userReportlet2html.xsl
URL: 
http://svn.apache.org/viewvc/syncope/trunk/core/src/main/resources/report/userReportlet2html.xsl?rev=1629839&r1=1629838&r2=1629839&view=diff
==============================================================================
--- syncope/trunk/core/src/main/resources/report/userReportlet2html.xsl 
(original)
+++ syncope/trunk/core/src/main/resources/report/userReportlet2html.xsl Tue Oct 
 7 09:40:27 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