Fix [ 1893051 ] NPE at Workflow Activities

This commit is contained in:
Carlos Ruiz 2008-02-13 20:01:49 +00:00
parent ec7588b1e3
commit 282b42d59d
1 changed files with 2 additions and 1 deletions

View File

@ -418,7 +418,8 @@ public class WFActivity extends CPanel
statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "WFNoActivities")); statusBar.setStatusLine(Msg.getMsg(Env.getCtx(), "WFNoActivities"));
bNext.setEnabled(false); bNext.setEnabled(false);
bPrevious.setEnabled(false); bPrevious.setEnabled(false);
m_menu.updateActivities(0); if (m_menu != null)
m_menu.updateActivities(0);
return; return;
} }
// Display Activity // Display Activity