Browse Source

Report de [70375]

warnings de clés de tableau qui n'existe pas forcément
svn/root/tags/plugins/breves/1.3.7 v1.3.7
rastapopoulos@spip.org 9 years ago
parent
commit
737d811fd8
  1. 6
      breves_pipelines.php
  2. 2
      paquet.xml

6
breves_pipelines.php

@ -272,8 +272,10 @@ function breves_optimiser_base_disparus($flux){
* @return array Données du pipeline
*/
function breves_boite_infos($flux){
if ($flux['args']['type']=='rubrique'
AND $id_rubrique = $flux['args']['id']){
if (
isset($flux['args']['type']) and $flux['args']['type'] == 'rubrique'
and isset($flux['args']['id']) and $id_rubrique = $flux['args']['id']
){
if ($nb = sql_countsel('spip_breves',"statut='publie' AND id_rubrique=".intval($id_rubrique))){
$nb = "<div>". singulier_ou_pluriel($nb, "breves:info_1_breve", "breves:info_nb_breves") . "</div>";
if ($p = strpos($flux['data'],"<!--nb_elements-->"))

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="breves"
categorie="edition"
version="1.3.6"
version="1.3.7"
etat="stable"
compatibilite="[3.0.0;3.1.*]"
logo="prive/themes/spip/images/breve-32.png"

Loading…
Cancel
Save