It will not helpsandpiper_flyer wrote:Mmmm... possibly add Onclick, css for button, display: none?? then there is no button to click the second time, unless you are very very quick
Code: Select all
== OPEN ==
includes/functions_thanks.php
== FIND ==
if ($row['poster_id'] != $user_id && $row['poster_id'] == $to_id && !$thanked)
== REPLACE ==
if ($row['poster_id'] != $user_id && $row['poster_id'] == $to_id && !already_thanked($post_id, $user_id))