|
Well you need to document what action is being performed here but as I can see we send one. Why would there be 18? If so an ad is being placed in a category someone has a subscription to then we send an email
The way I see it the only way that user is going to get 18 of the same emails is if they are subscribed to a category 18 TIMES. So as unrealistic as that seems is that the case. try running a query like this to see replacing the cat number and userid with your scenerio
SELECT * FROM cp_notify WHERE product=500 AND userid=14 AND type=1
|