diff --git a/pom.xml b/pom.xml
index 425cfe7..095566f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
com.mousetech.gourmet
gourmetj
- 0.2.6
+ 0.2.7
jar
GourmetJ
diff --git a/src/main/java/com/mousetech/gourmetj/RecipeDetailBean.java b/src/main/java/com/mousetech/gourmetj/RecipeDetailBean.java
index dcb8e60..2c3cde0 100644
--- a/src/main/java/com/mousetech/gourmetj/RecipeDetailBean.java
+++ b/src/main/java/com/mousetech/gourmetj/RecipeDetailBean.java
@@ -206,8 +206,8 @@ public class RecipeDetailBean implements Serializable {
/**
* After construction and injection, we obtain the recipe ID
- * passed to us, if any and load the recipe. It's also stored
- * in @see UserSession for the detail editor and
+ * passed to us, if any, and load the recipe. It's also stored
+ * in @see UserSession for the detail editor.
*
* @see PictureController.
*/
@@ -720,7 +720,7 @@ public class RecipeDetailBean implements Serializable {
}
if (recipeService.save(this.getRecipe())) {
- userSession.setRecipe(null);
+ ////////////userSession.setRecipe(null);
return "recipeDetails?faces-redirect=true";
} else {
JSFUtils.addErrorMessage("Save recipe failed");