Fixes issue 8528: Removed required project id paramter, since is in the session stored by autosave
authorIván Perdomo <ivan.perdomo@openbravo.com>
Tue, 14 Apr 2009 13:04:46 +0200
changeset 3547 83af22927cb5
parent 3546 f544940c086d
child 3548 20287aa372a1
Fixes issue 8528: Removed required project id paramter, since is in the session stored by autosave
src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java	Wed Apr 08 16:43:13 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/ProjectCopyFrom.java	Tue Apr 14 13:04:46 2009 +0200
@@ -51,7 +51,7 @@
       String strWindow = vars.getStringParameter("inpwindowId");
       String strTab = vars.getStringParameter("inpTabId");
       String strProject = vars.getStringParameter("inpProject", "");
-      String strKey = vars.getRequiredGlobalVariable("inpcProjectId", strWindow + "|C_Project_ID");
+      String strKey = vars.getGlobalVariable("inpcProjectId", strWindow + "|C_Project_ID");
       printPage(response, vars, strKey, strProject, strWindow, strTab, strProcessId);
     } else if (vars.commandIn("SAVE")) {
       String strWindow = vars.getStringParameter("inpwindowId");