From 37ec180f1861adbd239f95bad7513c477dace664 Mon Sep 17 00:00:00 2001 From: Uma <uma.s@vtiger.com> Date: Mon, 8 Jun 2020 13:24:45 +0530 Subject: [PATCH] Fixes #1295 Signature warnings and undefined constant --- modules/Migration/models/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Migration/models/Module.php b/modules/Migration/models/Module.php index 8f9aa4ae1..b781bfc09 100644 --- a/modules/Migration/models/Module.php +++ b/modules/Migration/models/Module.php @@ -25,7 +25,7 @@ class Migration_Module_Model extends Vtiger_Module_Model { * Static Function to get the instance of Vtiger Module Model for the given id or name * @param mixed id or name of the module */ - public static function getInstance($value) { + public static function getInstance($value='') { return new self($value); } -- GitLab