From fb3138fb7d196302ad11020479b16b88bdfc45b1 Mon Sep 17 00:00:00 2001 From: "Pierre Habouzit (MadCoder" Date: Tue, 24 May 2005 09:00:08 +0000 Subject: [PATCH] spool fix git-archimport-id: opensource@polytechnique.org--2005/banana--mainline--1.0--patch-23 --- banana/spool.inc.php | 2 +- po/banana.pot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/banana/spool.inc.php b/banana/spool.inc.php index f199342..c41cedc 100644 --- a/banana/spool.inc.php +++ b/banana/spool.inc.php @@ -101,7 +101,7 @@ class BananaSpool $do_save = false; $first = $banana->maxspool ? max($groupinfo[2]-$banana->maxspool, $groupinfo[1]) : $groupinfo[1]; $last = $groupinfo[2]; - if ($this->version == BANANA_SPOOL_VERSION) { + if ($this->version == BANANA_SPOOL_VERSION && is_array($this->overview)) { for ($id = min(array_keys($this->overview)); $id<$first; $id++) { $this->delid($id, false); $do_save = true; diff --git a/po/banana.pot b/po/banana.pot index 84e1d28..79ffa3e 100644 --- a/po/banana.pot +++ b/po/banana.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-05-24 10:46+0200\n" +"POT-Creation-Date: 2005-05-24 10:50+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -- 2.1.4