- Изменено условие рассылки

parent 2ae694ed
......@@ -123,7 +123,7 @@ class DefaultController extends BaseController
foreach($users as $user) {
foreach($urls as $url) {
$watchingtime = TriggerLogs::getSummaryTimeByUrl($url, $user->id);
if ((int)$watchingtime>=(int)$neededTime) {
if ((int)$watchingtime<(int)$neededTime) {
$templateData = [];
$email = $user->email;
/** @var \DateTime $time_now */
......
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