Problème autorisation, statut ré cupéré vide

Robomatix Rebirth <[email protected]>
Newsgroups gmane.comp.web.spip.devel,gmane.comp.web.spip.zone
Message-ID <[email protected]>
Bonjour,

Je tente de déveloper un plugin.

Spip 3.2.7.

Lorsque je visite la page d'un objet créé, si le statut de l'objet est 
différent de "publie", j'obtient une erreur :

  Warning: Invalid argument supplied for foreach() in 
spip\ecrire\inc\autoriser.php on line 375

J'ai mis un var_dump($infos); et j'obtiens :

array (size=4)
   'titre' => string ''' as titre,'' as lang' (length=22)
   'date' => string '' (length=0)
   'statut' => string '' (length=0)
   'tables_jointures' =>
     array (size=0)
       empty

Le statut et vide... Pourtant, dans la boite à gauche, le statut est bon 
et je peux le changer...

Une piste ?

Merci d'avance.

Gilles L.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.