Changeset 122331 in spip-zone


Ignore:
Timestamp:
Feb 10, 2020, 9:53:48 AM (12 days ago)
Author:
Cerdic
Message:

echappements manquants et var_dump qui trainait

Location:
_plugins_/agenda/branches/v3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/agenda/branches/v3

    • Property subgit:lock:64d620e709f49b04617236c19b5cade39b2eb0d2 deleted
    • Property subgit:lock:65b9177888b19e7f69b2bc03cf2d445921f2beae set to 2020-02-10T10:54:11.974
  • _plugins_/agenda/branches/v3/agenda_pipelines.php

    r122284 r122331  
    114114
    115115        // Evenements a la poubelle
    116         sql_delete('spip_evenements', "statut='poubelle' AND maj < ".$flux['args']['date']);
     116        sql_delete('spip_evenements', "statut='poubelle' AND maj < ".sql_quote($flux['args']['date']));
    117117
    118118        // Effacer les inscriptions à des evenement inexistants
     
    124124        );
    125125        while ($row = sql_fetch($res)) {
    126                 var_dump($row);
    127                 sql_delete('spip_evenements_participants','id_evenement='.$row['id_evenement']);
     126                sql_delete('spip_evenements_participants','id_evenement='.intval($row['id_evenement']));
    128127        }
    129128
Note: See TracChangeset for help on using the changeset viewer.