Dotclear


Ignore:
Timestamp:
04/21/15 10:39:44 (10 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Addresses #1647. Antispam rules were not added at installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/filters/class.dc.filter.words.php

    r2987 r2996  
    218218          } 
    219219 
    220           $rs = $this->con->select('SELECT MAX(rule_id) FROM '.$this->table); 
    221           $id = (integer) $rs->f(0) + 1; 
     220          $rs_max = $this->con->select('SELECT MAX(rule_id) FROM '.$this->table); 
     221          $id = (integer) $rs_max->f(0) + 1; 
    222222 
    223223          $cur = $this->con->openCursor($this->table); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map