[Vtigercrm-commits] [vtiger development] #6334: Vendor popup capture for m:m relation using get_related_list()
vtiger development
vtiger-tickets at trac.vtiger.com
Fri Oct 2 10:31:50 EDT 2009
#6334: Vendor popup capture for m:m relation using get_related_list()
------------------------+---------------------------------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: new
Priority: unassigned | Milestone: 5.2.0
Component: vtigercrm | Version: 5.1.0
Keywords: |
------------------------+---------------------------------------------------
If we add a related list (vtlib->setRelatedList) against Vendors we get an
error due to the lacking of the RETURN_MODULE variable in Popup.php
{{{
Index: Popup.php
===================================================================
--- Popup.php (revisión: 1934)
+++ Popup.php (revisión: 1945)
@@ -141,6 +141,9 @@
require_once("modules/$currentModule/Vendors.php");
$focus = new Vendors();
$smarty->assign("SINGLE_MOD",'Vendor');
+ if(isset($_REQUEST['return_module']) &&
$_REQUEST['return_module'] !='')
+
$smarty->assign("RETURN_MODULE",vtlib_purify($_REQUEST['return_module']));
+ if (isset($_REQUEST['select']))
$smarty->assign("SELECT",'enable');
$alphabetical =
AlphabeticalSearch($currentModule,'Popup','vendorname','true','basic',$popuptype,"","",$url);
break;
case 'SalesOrder':
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6334>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list