We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86dc050 commit 7674525Copy full SHA for 7674525
app/code/Magento/Cron/Model/Config/Backend/Sitemap.php
@@ -72,7 +72,13 @@ public function __construct(
72
public function afterSave()
73
{
74
$time = $this->getData('groups/generate/fields/time/value');
75
+ if (null === $time) {
76
+ $time = explode(',', $this->_config->getValue('sitemap/generate/time'));
77
+ }
78
$frequency = $this->getData('groups/generate/fields/frequency/value');
79
+ if (null === $frequency) {
80
+ $frequency = $this->getValue();
81
82
83
$cronExprArray = [
84
(int)$time[1], //Minute
0 commit comments