From 038edd2fa6094f218cbc9de158adc08475c9faa1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 28 Apr 2010 12:46:47 -0400 Subject: [PATCH] Make sure we always have a fileas parameter. Windows mobile devices aren't smart enough to calculate this on their own. --- turba/lib/Driver.php | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.11.0