Changeset 77108 in spip-zone
- Timestamp:
- Oct 9, 2013, 7:18:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/inscription/trunk/inscription3_fonctions.php
r77093 r77108 128 128 include_spip('inc/config'); 129 129 $reglement = lire_config('inscription3/reglement_article',0); 130 $where = "array('=', '".$boucle->id_table.".id_article', '".$reglement."')"; 131 } 132 $boucle->where[]= $where; 130 if(is_array($reglement)) 131 $reglement = str_replace('article|','',$reglement[0]); 132 if(is_numeric($reglement) && intval($reglement) > 0) 133 $where = "array('=', '".$boucle->id_table.".id_article', '".$reglement."')"; 134 } 135 if($where) 136 $boucle->where[]= $where; 133 137 } 134 138
Note: See TracChangeset
for help on using the changeset viewer.