Changeset 114320 in spip-zone


Ignore:
Timestamp:
Mar 3, 2019, 9:21:51 PM (6 months ago)
Author:
jluc@…
Message:

réparer la détection de langue cassée par http://zone.spip.org/trac/spip-zone/changeset/111512

Location:
_plugins_/nospam
Files:
3 edited

Legend:

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

    r111512 r114320  
    251251        $lang = false;
    252252        if (is_array($result_array)) {
    253                 foreach ($result_array as $r) {
    254                         if ($lang = reset($r)) {
     253                foreach ($result_array as $lang => $score) {
     254                        if ($lang) {
    255255                                break;
    256256                        }
  • _plugins_/nospam/paquet.xml

    r113961 r114320  
    22        prefix="nospam"
    33        categorie="performance"
    4         version="1.6.0"
     4        version="1.6.1"
    55        etat="stable"
    66        compatibilite="[2.0.0;3.2.*]"
  • _plugins_/nospam/plugin.xml

    r113961 r114320  
    1010        <icon>images/nospam-32.png</icon>
    1111        <licence>(c) 2008 GPL</licence>
    12         <version>1.6.0</version>
     12        <version>1.6.1</version>
    1313        <etat>stable</etat>
    1414        <description><multi>
Note: See TracChangeset for help on using the changeset viewer.