diff --git a/modules/Documents/Documents.php b/modules/Documents/Documents.php
index 1a615f67ef162e540b18f192fae1b5f290921a23..4d1319a1a31c95cf96f0610b3067138b6a441961 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 c460f1c2ce6dc19e4a119c16ccad14febc408b01..a7dd3518ab74a6cc3e89446ef080a104f713286d 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 71880524dbe7ddc80f85a1580f619daeee5dda50..4122115608a2ad2e07312288cb440fd06621c423 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;