Changeset 2155 for trunk/picture.php


Ignore:
Timestamp:
Oct 30, 2007, 12:39:41 AM (16 years ago)
Author:
rvelices
Message:
  • send status code 403 when attempt to enter a user comment, but comments are disabled
  • don't increase hit count when a comment is posted
  • remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2079 r2155  
    245245
    246246// incrementation of the number of hits, we do this only if no action
    247 if (trigger_event('allow_increment_element_hit_count', true) )
     247if (trigger_event('allow_increment_element_hit_count', !isset($_POST['content']) ) )
    248248{
    249249  $query = '
Note: See TracChangeset for help on using the changeset viewer.