From: Ben Klang Date: Wed, 27 Jan 2010 04:19:03 +0000 (-0500) Subject: Shout: Inverted logic on caller ID field X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2c1d6f255d2cb6c71888b599cdc5be8c18915262;p=horde.git Shout: Inverted logic on caller ID field --- diff --git a/shout/lib/Forms/DeviceForm.php b/shout/lib/Forms/DeviceForm.php index c8d4a04a6..9b79c558b 100644 --- a/shout/lib/Forms/DeviceForm.php +++ b/shout/lib/Forms/DeviceForm.php @@ -74,7 +74,7 @@ class DeviceDetailsForm extends Horde_Form { $mailbox = $this->_vars->get('mailbox'); // Default the caller id to something sane. - if ($callerid) { + if (empty($callerid)) { $callerid = sprintf('"%s" <%s>', $name, $mailbox); }