From 5d76c54c4b3a9e92e9c8c2c40a97d562e284981b 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 2f6ccca..224d497 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -1217,7 +1217,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