Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: agenda_autoriser.php
- ===================================================================
- --- agenda_autoriser.php (revision 98710)
- +++ agenda_autoriser.php (working copy)
- @@ -42,7 +42,7 @@
- if (autoriser('modifier', 'article', $id, $qui)) {
- $afficher = true;
- // un article avec des evenements a toujours le droit
- - if (!sql_countsel('spip_evenements', array('id_article='.intval($id)), "statut IN 'prop','publie")) {
- + if (!sql_countsel('spip_evenements', array('id_article='.intval($id)), "statut IN 'prop','publie'")) {
- // si au moins une rubrique a le flag agenda
- if (sql_countsel('spip_rubriques', 'agenda=1')) {
- // alors il faut le flag agenda dans cette branche !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement