Author: keith
Date: Sat Jan 19 03:26:19 2008
New Revision: 12512
Log:
Minor null check
Modified:
trunk/mashup/java/modules/www/taskbar.jsp
Modified: trunk/mashup/java/modules/www/taskbar.jsp
==============================================================================
--- trunk/mashup/java/modules/www/taskbar.jsp (original)
+++ trunk/mashup/java/modules/www/taskbar.jsp Sat Jan 19 03:26:19 2008
@@ -82,7 +82,7 @@
<ul>
<!--Will be available only to users with Admin priviledges OR who are Authors
of the current Mashup, if there is a Mashup service set by the parent page.-->
<% if (((RegistryUtils.isAdminRole(registry)) ||
- (paramAuthor.equalsIgnoreCase(paramCurrentUser))) &&
(paramMashupServiceName != null)) { %>
+ (paramAuthor != null &&
paramAuthor.equalsIgnoreCase(paramCurrentUser))) && (paramMashupServiceName !=
null)) { %>
<li id="service-status">
Service status not available
</li>
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev