From 7e2982c93d26ae7741f903e172633feab8c241e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Tue, 18 Oct 2011 20:58:35 +0200 Subject: [PATCH] Platal::kill() doesn't exist, use Platal::page()->kill() instead. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/newsletter.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index 7944c7d..17a4bf5 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -1243,7 +1243,7 @@ class NLIssue } foreach ($users as $user) { if (array_key_exists($user->id(), $global_sent)) { - Platal::kill('Sending the same newsletter issue ' . $this->id . ' to user ' . $user->id() . ' twice, something must be wrong.'); + Platal::page()->kill('Sending the same newsletter issue ' . $this->id . ' to user ' . $user->id() . ' twice, something must be wrong.'); } $sent[] = $user->id(); $global_sent[$user->id()] = true; -- 2.1.4