PDA

View Full Version : Alert saved to forum looks like a Warning


Tom1234
08-01-2005, 08:28 PM
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==''

sv1cec
08-05-2005, 07:12 PM
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?

Tom1234
08-05-2005, 07:30 PM
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.