Skip to content
Snippets Groups Projects
Commit 6f16e709 authored by Prasad's avatar Prasad
Browse files

Fixes: #1122 ::Greeshma:: php warnings compatibility issue fixed

parents 0a0e0411 44c0c659
No related branches found
No related tags found
No related merge requests found
......@@ -539,7 +539,7 @@ class Documents extends CRMEntity {
/**
* Function to get query for related list in Documents module
*/
function get_related_list($id, $cur_tab_id, $rel_tab_id) {
function get_related_list($id, $cur_tab_id, $rel_tab_id,$actions = false) {
$related_module = vtlib_getModuleNameById($rel_tab_id);
$other = CRMEntity::getInstance($related_module);
vtlib_setup_modulevars('Documents', $this);
......
......@@ -114,7 +114,7 @@ class Users_Field_Model extends Vtiger_Field_Model {
* @param <String> $value - value which need to be converted to display value
* @return <String> - converted display value
*/
public function getDisplayValue($value, $recordId = false) {
public function getDisplayValue($value, $recordId = false,$recordInstance=false) {
if($this->get('uitype') == 32){
return Vtiger_Language_Handler::getLanguageLabel($value);
......
......@@ -889,7 +889,7 @@ class Vtiger_Module_Model extends Vtiger_Module {
* @param <String> $where
* @return <String> export query
*/
public function getExportQuery($where) {
public function getExportQuery($where,$query=false) {
$focus = CRMEntity::getInstance($this->getName());
$query = $focus->create_export_query($where);
return $query;
......
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