From 09f87b201681804583eafff1c4a25716a28178af Mon Sep 17 00:00:00 2001 From: Muhammad Shahrukh <> Date: Wed, 30 Oct 2024 12:19:33 +0500 Subject: [PATCH] COMCL-886: 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 340d6a5250c0..9bc1a69c6e14 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 b8e481b8326d..1b5be8950fe1 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -137,7 +137,7 @@ public static function cleanDir(string $target, bool $rmdir = TRUE, bool $verbos } } 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");