From: Michael J. Rubinsky Date: Wed, 28 Apr 2010 16:46:47 +0000 (-0400) Subject: Make sure we always have a fileas parameter. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=038edd2fa6094f218cbc9de158adc08475c9faa1;p=horde.git Make sure we always have a fileas parameter. Windows mobile devices aren't smart enough to calculate this on their own. --- diff --git a/turba/lib/Driver.php b/turba/lib/Driver.php index 071c695a4..982598ce4 100644 --- a/turba/lib/Driver.php +++ b/turba/lib/Driver.php @@ -2418,6 +2418,10 @@ class Turba_Driver } } + if (empty($this->fileas)) { + $message->fileas = Turba::formatName($object); + } + return $message; }