Skip to content
Snippets Groups Projects
Commit 45f3f988 authored by yogeshwar's avatar yogeshwar
Browse files

Fixes :Fixed Typo which caused issue an Picklist Color Displaying

parent 89ace159
No related branches found
No related tags found
No related merge requests found
......@@ -499,7 +499,7 @@ class Settings_Picklist_Module_Model extends Vtiger_Module_Model {
$db = PearDatabase::getInstance();
$primaryKey = Vtiger_Util_Helper::getPickListId($fieldName);
$colums = $db->getColumnNames("vtiger_$fieldName");
if(is_array($columns) && in_array('color',$colums)) {
if(is_array($colums) && in_array('color',$colums)) {
$query = 'SELECT '.$primaryKey.',color,'.$fieldName.' FROM vtiger_'.$fieldName;
$result = $db->pquery($query, array());
$pickListColorMap = array();
......
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