Changeset 111971 in spip-zone


Ignore:
Timestamp:
Oct 11, 2018, 8:53:53 PM (6 days ago)
Author:
maieul@…
Message:

suppression notice php warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/formidable/trunk/inc/formidable.php

    r111970 r111971  
    124124                if ($id_formulaires_reponse = intval($id_formulaires_reponse)
    125125                        and $verifier_est_auteur == true) {
    126                         if (in_array($id_formulaires_reponse, $reponses) == false) {
     126                        if (!is_array($reponses) or in_array($id_formulaires_reponse, $reponses) == false) {
    127127                                $id_formulaires_reponse = false;
    128128                        }
Note: See TracChangeset for help on using the changeset viewer.