Skip to content

Commit ab69bcd

Browse files
committed
- (Bug Fix) Fixed an issue with a PHP error being thrown when using craft.postmaster.send in conjunction with a send date.
1 parent 17a3a4b commit ab69bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variables/PostmasterVariable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function send($settings, $parse = array())
2222

2323
if($settings['sendDate'])
2424
{
25-
$settings = Carbon::parse($settings['sendDate'], craft()->getTimezone());
25+
$settings['sendDate'] = Carbon::parse($settings['sendDate'], craft()->getTimezone());
2626
}
2727

2828
$settingsModel = new $settings['settingsModel']($settings['settings']);

0 commit comments

Comments
 (0)