Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@289
9869982d-c50d-0410-be91-
f2a2ec7c7c7b
$mid = '<' . $email . '>';
if (isset(Banana::$spool->ids[$mid])) {
return Banana::$page->makeLink(Array('group' => Banana::$group,
- 'artid' => Banana::$spool->ids[$mid],
+ 'artid' => Banana::$spool->ids[$mid]->id,
'text' => $email));
} elseif (strpos($email, '$') !== false) {
return $email;
}
if (!is_null($this->charset)) {
- $body = iconv($this->charset, 'UTF-8//IGNORE', $this->body);
+ $body = @iconv($this->charset, 'UTF-8//IGNORE', $this->body);
if (empty($body)) {
return;
}
$array =& $this->fetchResult();
$groups = array();
foreach ($array as &$result) {
- list($group, $desc) = split("[ \t]", $result, 2);
+ @list($group, $desc) = split("[ \t]", $result, 2);
$groups[$group] = $desc;
}
return $groups;