Re: crayons distraits

JLuc <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 12/03/2020 à 18:02, JLuc a écrit :
> Le 12/03/2020 à 17:26, Cerdic a écrit :
>> Si je lis le code, je pense que le bug vient de la modif de la ligne 480
>> if (is_scalar($id) and count($where)>1)
>> qui devrait être
>> if (is_scalar($id) and count($where)>=1)
> 
> Oui ça restaure les crayons 0-code sur (certains) objets non déclarés.
> Merci pour ta réactivité !
> Je vais commit le fix.
Voilà.
J'ai aussi un peu complété https://contrib.spip.net/Crayons-controleurs-et-vues-doc-complementaire
JL
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.