Commit 28185807 authored by Shakarim Sapa's avatar Shakarim Sapa

- Корректировка сохраняемой даты

parent d986a6c4
...@@ -96,7 +96,7 @@ class BlogSchedule extends ActiveRecordModel ...@@ -96,7 +96,7 @@ class BlogSchedule extends ActiveRecordModel
} }
// Далее мы уже имеем в распоряжении сформированный массив // Далее мы уже имеем в распоряжении сформированный массив
foreach($result_posts as $post_id) { foreach($result_posts as $post_id) {
$date->modify('+7 days') $date->modify('+7 days');
$model = new BlogSchedule(); $model = new BlogSchedule();
$model->email = $email; $model->email = $email;
$model->post_id = $post_id; $model->post_id = $post_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment