![]() |
Alert saved to forum looks like a Warning
I have Alerts set to submit a new thread to a forum. The template being used for this post is for a Warning rather than an Alert even though the PM and email sent for the warning uses the proper Alert templates.
I am at version 3.4.15. This looks like a problem around line 532 in includes/functions_warning.php: if ($alert=='No' OR $alert='') Note the $alert='' instead of $alert=='' |
This is obvious an error, and please change it in your file, but I do not think it is the one which affects your problem. What do you mean that the alert is entered in the forum as a warning? Can you please be a little more specific?
|
Even though an alert was issued, the warning template was used when saving it in the forum. I fixed the above code to use == and my problem is now fixed.
|
All times are GMT. The time now is 03:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|