Changeset 52525 in spip-zone


Ignore:
Timestamp:
Oct 5, 2011, 4:26:28 PM (8 years ago)
Author:
jluc@…
Message:

Moins d'abondance de logs, mais plus de parlance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/notation/inc/articles_accepter_notes.php

    r46349 r52525  
    1313                "id_article = ". intval($id_objet)
    1414        ));
    15         spip_log($art_accepter_note,'notation');
    16         if (in_array($art_accepter_note,array('oui','non'))) {
     15        if ($art_accepter_note and in_array($art_accepter_note,array('oui','non'))) {
     16                spip_log("l'article $id_objet accepte les notes : $art_accepter_note",'notation');
    1717                $accepter_note = $art_accepter_note;
    1818        }
Note: See TracChangeset for help on using the changeset viewer.