Changeset 91364 in spip-zone for _plugins_/nospam


Ignore:
Timestamp:
Aug 15, 2015, 7:52:06 AM (4 years ago)
Author:
cedric@…
Message:

eviter une notice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/nospam/inc/detecter_langue.php

    r91363 r91364  
    9898        //use only top frequent ngrams
    9999        $most_frequent = array_slice($ng_frequency, 0, $ng_number);
     100        $sub_ng = array();
    100101        foreach ($most_frequent as $ng => $number_frequencey){
    101102                $sub_ng[] = $ng;
Note: See TracChangeset for help on using the changeset viewer.