Skip to content
Snippets Groups Projects
Commit 34fa5ab6 authored by yogeshwar's avatar yogeshwar
Browse files

E-All opportunity to Project Mapping

parent 204e2247
No related branches found
No related tags found
2 merge requests!1233E_ALL fixes across modules for PHP 8.x,!1222E-All opportunity to Project Mapping
......@@ -12,6 +12,7 @@ class Settings_Potentials_Mapping_Model extends Settings_Leads_Mapping_Model {
var $name = 'Potentials';
public $mapping;
/**
* Function to get headers for detail view
* @return <Array> headers list
......@@ -51,7 +52,7 @@ class Settings_Potentials_Mapping_Model extends Settings_Leads_Mapping_Model {
* @return <Array> list of mapping details
*/
public function getMapping($editable = false) {
if (!property_exists($this,'mapping') || !$this->mapping) {
if (!$this->mapping) {
$db = PearDatabase::getInstance();
$query = 'SELECT * FROM vtiger_convertpotentialmapping';
if ($editable) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment