diff --git a/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java b/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java index b5868e66d28b..8a7a6a791102 100644 --- a/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java +++ b/lessonbuilder/tool/src/java/org/sakaiproject/lessonbuildertool/tool/beans/SimplePageBean.java @@ -1734,7 +1734,7 @@ private SimplePageItem appendItem(String id, String name, int type) { continue; } } - if (after) { + if (after && item.getPageId() >= 0) { item.setSequence(item.getSequence() + 1); simplePageToolDao.quickUpdate(item); }