diff --git a/ecrire/public/boucles.php b/ecrire/public/boucles.php index 9821ad66614a63f7c01317583a0cd2af164dc932..4583f60ad40cde4f0aaa25f795f05530d3467f6b 100644 --- a/ecrire/public/boucles.php +++ b/ecrire/public/boucles.php @@ -149,16 +149,11 @@ function boucle_SIGNATURES_dist($id_boucle, &$boucles) { $mstatut = $id_table .'.statut'; $boucle->from[$id_table] = "spip_signatures"; - $boucle->from["petitions"] = "spip_petitions"; - $boucle->from["articles"] = "spip_articles"; - $boucle->where[]= array("'='", "'petitions.id_article'", "'$id_table.id_article'"); - $boucle->where[]= array("'='", "'petitions.id_article'", "'articles.id_article'"); // Restreindre aux elements publies if (!$boucle->statut) { $boucle->where[]= array("'='", "'$mstatut'", "'\"publie\"'"); } - $boucle->group[] = $boucle->id_table . '.' . $boucle->primary; return calculer_boucle($id_boucle, $boucles); } diff --git a/ecrire/public/interfaces.php b/ecrire/public/interfaces.php index 4d0e97b4cefb52cd68b7be25cb7fd8f734f822b6..1dff6a96cf687cfed32b70c507bda19291b3687c 100644 --- a/ecrire/public/interfaces.php +++ b/ecrire/public/interfaces.php @@ -187,8 +187,6 @@ $exceptions_des_tables['syndic_articles']['url_site']=array('spip_syndic', $exceptions_des_tables['syndic_articles']['nom_site']=array('spip_syndic', 'nom_site'); -$exceptions_des_tables['signatures']['id_article']=array('spip_petitions', 'id_article'); - $table_date['articles']='date'; $table_date['auteurs']='date'; $table_date['breves']='date_heure';