From 44c0c65921911c19f06763f3d539e0dd4ee1fc0b Mon Sep 17 00:00:00 2001
From: "greeshma.kk" <greeshma.kk@vtiger.com>
Date: Thu, 26 Sep 2019 13:07:04 +0530
Subject: [PATCH] Fixes:#1122 ::Greeshma:: php warnings compatibility issue
 fixed

---
 modules/Documents/Documents.php  | 2 +-
 modules/Users/models/Field.php   | 2 +-
 modules/Vtiger/models/Module.php | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/Documents/Documents.php b/modules/Documents/Documents.php
index 1a615f67e..4d1319a1a 100644
--- a/modules/Documents/Documents.php
+++ b/modules/Documents/Documents.php
@@ -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);
diff --git a/modules/Users/models/Field.php b/modules/Users/models/Field.php
index c460f1c2c..a7dd3518a 100644
--- a/modules/Users/models/Field.php
+++ b/modules/Users/models/Field.php
@@ -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);
diff --git a/modules/Vtiger/models/Module.php b/modules/Vtiger/models/Module.php
index 43e683c4d..91137877a 100644
--- a/modules/Vtiger/models/Module.php
+++ b/modules/Vtiger/models/Module.php
@@ -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;
-- 
GitLab