Changeset 54189 in spip-zone


Ignore:
Timestamp:
Nov 8, 2011, 12:20:18 PM (8 years ago)
Author:
kent1@…
Message:

On utilise l'autorisation qui va bien et correctement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/branches/v2/action/editer_lien_gis.php

    r48696 r54189  
    1010       
    1111        include_spip('inc/autoriser');
    12         if (intval($id_gis) AND autoriser('modifier','gis',$id_gis,null,null)){
     12        if (intval($id_gis) AND autoriser('lier','gis',$id_gis,$GLOBALS['visiteur_session'],array('objet' => $objet,'id_objet'=>$id_objet))){
    1313                include_spip('action/editer_gis');
    1414                if ($action == 'lier')
Note: See TracChangeset for help on using the changeset viewer.