From 38b64c6558263f8c992b8ef212f936247db4246d Mon Sep 17 00:00:00 2001 From: "peetdu@gmail.com" <> Date: Fri, 12 Aug 2016 11:46:19 +0000 Subject: [PATCH] Notice PHP en moins. --- abonnements_pipelines.php | 3 +++ paquet.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/abonnements_pipelines.php b/abonnements_pipelines.php index cd78699..d72132f 100644 --- a/abonnements_pipelines.php +++ b/abonnements_pipelines.php @@ -39,6 +39,9 @@ function abonnements_optimiser_base_disparus($flux) { */ function abonnements_post_edition($flux) { + if (empty($flux['args']['table'])) { + return $flux; + } // Si on modifie un abonnement if ($flux['args']['table'] == 'spip_abonnements') { include_spip('inc/abonnements'); diff --git a/paquet.xml b/paquet.xml index ce73658..2a0ed98 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@