From ab2f7615b9ea6d26664720e2b0dad82bc77d195d Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Tue, 23 Apr 2024 16:10:36 +0530
Subject: [PATCH] Fixed checkFileAccessIn call using static specifier

---
 vtlib/Vtiger/Utils.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vtlib/Vtiger/Utils.php b/vtlib/Vtiger/Utils.php
index d6923a68e..ea3284968 100644
--- a/vtlib/Vtiger/Utils.php
+++ b/vtlib/Vtiger/Utils.php
@@ -93,7 +93,7 @@ class Vtiger_Utils {
 	 * @param Boolean False to avoid die() if check fails
 	 */
 	static function checkFileAccess($filepath, $dieOnFail=true) {
-		return checkFileAccessIn($filepath, null, $dieOnFail);
+		return static::checkFileAccessIn($filepath, null, $dieOnFail);
 	}
 
 	/** 
-- 
GitLab