Notices avec `#EDIT{intro}` sur une boucle Rubrique

Par exemple dans une boucle Rubriques : https://git.spip.net/spip-contrib-extensions/z-core/src/branch/master/inclure/resume/rubrique.html#L12

On trouve [<div class="#EDIT{intro} introduction entry-content">(#INTRODUCTION{#ENV{coupe,300}})</div>]

Cela génère une erreur pour produire le JSON en crayonnant :


Warning: Undefined array key "intro" in ~/action/crayons_html.php on line 141

Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in ~/action/crayons_html.php on line 141

Warning: Trying to access array offset on false in ~/action/crayons_html.php on line 155


Dans Crayons on voit un controlleur/article-intro.html mais pas de rubrique-intro.html par exemple, qui fait que ça tente de trouver le champ 'intro' dans la table de bdd.

Je suppose que z-core a employé un peu abusivement ce #EDIT{intro} dans les résumés, alors qu’il ne s’applique QUE sur la table articles.