<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2011 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
}
if (is_null($answer)) {
Platal::page()->trigError("L'accès aux listes de diffusion n'est pas disponible actuellement.");
- $this->bt->update(0, "Connection failed");
+ if ($this->bt) {
+ $this->bt->update(0, "Connection failed");
+ }
return null;
}
Platal::assert(starts_with($answer, 'HTTP/1.0 200 OK'), "HTTP Error:\n" . $answer,
}
}
-// vim:set et sw=4 sts=4 sws=4 enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 fenc=utf-8:
?>