Author: tyrell
Date: Sun Jan 13 10:49:54 2008
New Revision: 12171

Log:

Fixing author being null during a mashup creation sceanrio.

Modified:
   trunk/mashup/java/modules/www/editor.jsp

Modified: trunk/mashup/java/modules/www/editor.jsp
==============================================================================
--- trunk/mashup/java/modules/www/editor.jsp    (original)
+++ trunk/mashup/java/modules/www/editor.jsp    Sun Jan 13 10:49:54 2008
@@ -73,6 +73,8 @@
     } else if ((action.equalsIgnoreCase("new")) && (mashup == null)) {
         throw new Exception(
                 "Sorry. A request was made to create a mashup without 
providing a valid name.");
+    }else if ((action.equalsIgnoreCase("new")) && (mashup != null)) {
+        author = currentUser;
     }
 %>
 <html>

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to