Changeset 96544 in spip-zone


Ignore:
Timestamp:
Apr 8, 2016, 12:56:52 PM (4 years ago)
Author:
cedric@…
Message:

priorite des operateurs, parenthese manquante possiblement mortelle

File:
1 edited

Legend:

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

    r96543 r96544  
    258258                include_spip('inc/config')
    259259                and $config = lire_config('commandes')
    260                 and $quand = $config['quand'] ? $config['quand'] : array()
     260                and $quand = ($config['quand'] ? $config['quand'] : array())
    261261                and $config['activer'] // les notifications sont activées
    262262                and $statut = sql_getfetsel('statut', table_objet_sql('commande'), "id_commande=".intval($id_commande))
     
    288288        }
    289289}
    290 
    291 ?>
Note: See TracChangeset for help on using the changeset viewer.