From eadb46747d9e516053ddbd8893846fc075364ba9 Mon Sep 17 00:00:00 2001 From: Ng Kiat Siong Date: Fri, 16 Aug 2024 10:26:03 +0800 Subject: [PATCH] Fix trim() null deprecation in Job.php. --- app/code/community/Aoe/Scheduler/Model/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Aoe/Scheduler/Model/Job.php b/app/code/community/Aoe/Scheduler/Model/Job.php index 16f6942..4420a01 100755 --- a/app/code/community/Aoe/Scheduler/Model/Job.php +++ b/app/code/community/Aoe/Scheduler/Model/Job.php @@ -127,7 +127,7 @@ public function getDbJobData() */ public function getCronExpression() { - $cronExpr = null; + $cronExpr = ''; if ($this->getScheduleConfigPath()) { $cronExpr = Mage::getStoreConfig($this->getScheduleConfigPath(), Mage_Core_Model_Store::ADMIN_CODE); }