Changeset 93640 in spip-zone for _core_/plugins/forum/action/instituer_lot_forum.php
- Timestamp:
- Dec 13, 2015, 2:39:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/forum/action/instituer_lot_forum.php
r93612 r93640 32 32 */ 33 33 if (preg_match(",^(\w+)-,", $arg, $match) 34 ANDin_array($statut = $match[1], array('publie', 'off', 'spam'))34 and in_array($statut = $match[1], array('publie', 'off', 'spam')) 35 35 ) { 36 $arg = substr($arg, strlen($statut) +1);36 $arg = substr($arg, strlen($statut) + 1); 37 37 38 38 $arg = explode('/', $arg); … … 71 71 */ 72 72 elseif (preg_match(",^(\w+)$,", $arg, $match) 73 ANDin_array($statut = $match[1], array('publie', 'off', 'spam'))74 AND$id = _request('ids')75 ANDis_array($id)73 and in_array($statut = $match[1], array('publie', 'off', 'spam')) 74 and $id = _request('ids') 75 and is_array($id) 76 76 ) { 77 77 … … 96 96 97 97 } 98 99 ?>
Note: See TracChangeset
for help on using the changeset viewer.