Skip to content

Commit

Permalink
Only use the pipe if we have a specified delivery agent.
Browse files Browse the repository at this point in the history
Fixes regression introduced with
354c3fd
  • Loading branch information
mrubinsk committed Aug 1, 2015
1 parent 06680b5 commit 5a3286c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingo/lib/Script/Procmail/Recipe.php
Expand Up @@ -68,9 +68,9 @@ public function __construct($params = array(), $scriptparams = array())
$this->_disable = !empty($params['disable']);
$this->_params = array_merge($this->_params, $scriptparams);

$delivery = '| ';
$delivery = '';
if (isset($this->_params['delivery_agent'])) {
$delivery .= $this->_params['delivery_agent'] . ' ';
$delivery = '| ' . $this->_params['delivery_agent'] . ' ';
}
if (isset($this->_params['delivery_mailbox_prefix'])) {
$delivery .= ' ' . $this->_params['delivery_mailbox_prefix'];
Expand Down

0 comments on commit 5a3286c

Please sign in to comment.