Changeset 88006 in spip-zone


Ignore:
Timestamp:
Mar 16, 2015, 9:26:13 PM (5 years ago)
Author:
rastapopoulos@…
Message:

utiliser filtrer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/commandes/trunk/commandes_autorisations.php

    r88003 r88006  
    165165function autoriser_commande_voir_facture_dist($faire, $type, $id, $qui, $opts) {
    166166        include_spip('inc/filtres');
    167         return autoriser('voir', 'commande', $id, $qui, $opts) and !empty(appliquer_filtre($id, 'generer_url_commande_facture'));
     167        return autoriser('voir', 'commande', $id, $qui, $opts) and !empty(filtrer('generer_url_commande_facture', $id));
    168168}
    169169
Note: See TracChangeset for help on using the changeset viewer.