Skip to content
Snippets Groups Projects
Commit 0827a9de authored by Adrien Faveraux's avatar Adrien Faveraux
Browse files

pear

parent ec7c4c44
No related branches found
No related tags found
1 merge request!337Php7 constructor
......@@ -167,7 +167,7 @@ class PEAR
* @access public
* @return void
*/
public function __construct($error_class = null)
function __construct($error_class = null)
{
$classname = strtolower(get_class($this));
if ($this->_debug) {
......
......@@ -340,6 +340,8 @@ class Reports_Record_Model extends Vtiger_Record_Model {
$selectedColumns[$module.'_'.$translatedFieldLabel] = $column;
} else if(CheckFieldPermission($fieldName, $module) == 'true') {
// we should affix key with module name to differentiate same labels from diff modules
$translatedFieldLabel = str_replace('"', "", $translatedFieldLabel);
$translatedFieldLabel = str_replace("'", "", $translatedFieldLabel);
$selectedColumns[$module.'_'.$translatedFieldLabel] = $column;
}
}
......
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