From 3b606513e138de0f064cc89c426a863a49427c01 Mon Sep 17 00:00:00 2001 From: Muhammad Shahrukh <> Date: Wed, 30 Oct 2024 12:12:47 +0500 Subject: [PATCH] COMCL-885: Fix typo --- CRM/Financial/Page/FinancialBatch.php | 2 +- CRM/Utils/File.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Financial/Page/FinancialBatch.php b/CRM/Financial/Page/FinancialBatch.php index 76bb06a33fe8..d9b8a7f9705f 100644 --- a/CRM/Financial/Page/FinancialBatch.php +++ b/CRM/Financial/Page/FinancialBatch.php @@ -72,7 +72,7 @@ public function run() { ) { $this->edit($this->_action, $id); } - $this->assign('financialAJAXQFKey', CRM_Core_Key::get('CRM_Financial_Page_AJAX')) + $this->assign('financialAJAXQFKey', CRM_Core_Key::get('CRM_Financial_Page_AJAX')); // parent run return CRM_Core_Page::run(); } diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index 426dbd719160..163c17a1fdb9 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -162,7 +162,7 @@ public static function cleanDir($target, $rmdir = TRUE, $verbose = TRUE) { } } elseif (is_dir($object)) { - CRM_Utils_File::cleanDir($object, TRUE, $verbose); + CRM_Utils_File::cleanDir($object, $rmdir, $verbose); } elseif (is_file($object)) { CRM_Utils_File::try_unlink($object, "file");