X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=banana%2Fmbox.inc.php;h=1f158c904c5ae90e3290474345fcdf51965b029b;hb=6ec8703c9a26dc36334478488789433b00c471d7;hp=cb4faa24a719e89f0ef7822bc3120141963436e0;hpb=8ba04fa3864bf9a31567d92969fd88cf2ff2161e;p=banana.git diff --git a/banana/mbox.inc.php b/banana/mbox.inc.php index cb4faa2..1f158c9 100644 --- a/banana/mbox.inc.php +++ b/banana/mbox.inc.php @@ -302,7 +302,7 @@ class BananaMBox implements BananaProtocoleInterface */ private function getMBoxPosition(array &$options, $id = null) { - if (Banana::$spool->overview) { + if (Banana::$spool && Banana::$spool->overview) { if (!is_null($id) && isset(Banana::$spool->overview[$id])) { $key = $id; } else {