Open applications/autowelcome/sources/Alerts/Alerts.php
Find:
$status = \IPS\core\Statuses\Status::createFromForm( $values );
Replace With:
$status = \IPS\core\Statuses\Status::createFromForm( $values, NULL, FALSE );
Find:
$status->save();
Add BELOW:
/* Send notifications */
if ( !$status->isFutureDate() )
{
if ( !$status->hidden() )
{
$status->sendNotifications();
}
else if( $obj instanceof \IPS\Content\Hideable and $status->hidden() !== -1 )
{
$status->sendUnapprovedNotification();
}
}
Save.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.