Changeset 107859 in spip-zone


Ignore:
Timestamp:
Dec 4, 2017, 9:33:38 PM (20 months ago)
Author:
nicolas.dorigny@…
Message:

Il arrive que $champs_a_traiter soit vide, ce qui génère des erreurs SQL

Location:
_plugins_/linkcheck/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/linkcheck/trunk/linkcheck_pipelines.php

    r103868 r107859  
    106106                        return $flux;
    107107                }
    108                 if (is_array($champs_a_traiter)) {
     108                if (is_array($champs_a_traiter) && count($champs_a_traiter)) {
    109109                        $tab_value = sql_fetsel(array_keys($champs_a_traiter), $table_sql, $id_table_objet.'='.intval($id_objet));
    110110                        foreach (array_keys($champs_a_traiter) as $ct) {
  • _plugins_/linkcheck/trunk/paquet.xml

    r107102 r107859  
    22        prefix="linkcheck"
    33        categorie="maintenance"
    4         version="1.4.9"
     4        version="1.4.10"
    55        etat="stable"
    66        compatibilite="[3.0.5;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.