Quantcast
Channel: Group Auto-Email Module
Viewing all articles
Browse latest Browse all 60

Re: Group Auto-Email Module

$
0
0
Thanks for this great mod!
I've made an enhancement to the code, to ensure that the user who posts doesn't get an email-notification of his own post.
In group_autoemail.php @ line 40 add
$user_id=$PHORUM["user"]["user_id"];
$sql.=" AND user_id!=$user_id";
before
$res = mysql_query($sql, $conn);

ps: at line 60, there is a reference to $user_id , but $user_id isn't declared before (at least not until my addition ;-) )

Viewing all articles
Browse latest Browse all 60

Trending Articles