Alert is not showing

My alert code is sending an alert to the appropriate user and it shows up with a "1" in the alert notification, but the alert is not showing anything. And when I go to the Alert page it doesn't show anything either. I'm assuming it's because the alert template is not named properly.

Here is my alert:

Code:

Код:
$receiver = \XF::finder('XF:User')->where('user_id', 24495)->fetchOne();

if ($receiver) {
   $sender = \XF::finder('XF:User')->where('user_id', 1)->fetchOne();
   $alertRepo =...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ