Changeset 70376 in spip-zone


Ignore:
Timestamp:
Mar 4, 2013, 9:38:26 AM (6 years ago)
Author:
rastapopoulos@…
Message:

Report de [70375]
warnings de clés de tableau qui n'existe pas forcément

Location:
_core_/plugins/breves
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/breves/breves_pipelines.php

    r69328 r70376  
    273273 */
    274274function breves_boite_infos($flux){
    275         if ($flux['args']['type']=='rubrique'
    276           AND $id_rubrique = $flux['args']['id']){
     275        if (
     276                isset($flux['args']['type']) and $flux['args']['type'] == 'rubrique'
     277                and isset($flux['args']['id']) and  $id_rubrique = $flux['args']['id']
     278        ){
    277279                if ($nb = sql_countsel('spip_breves',"statut='publie' AND id_rubrique=".intval($id_rubrique))){
    278280                        $nb = "<div>". singulier_ou_pluriel($nb, "breves:info_1_breve", "breves:info_nb_breves") . "</div>";
  • _core_/plugins/breves/paquet.xml

    r69026 r70376  
    22        prefix="breves"
    33        categorie="edition"
    4         version="1.3.6"
     4        version="1.3.7"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.