Make sure we always have a fileas parameter.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 28 Apr 2010 16:46:47 +0000 (12:46 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 28 Apr 2010 16:49:54 +0000 (12:49 -0400)
Windows mobile devices aren't smart enough to calculate this on their own.

turba/lib/Driver.php

index 071c695..982598c 100644 (file)
@@ -2418,6 +2418,10 @@ class Turba_Driver
             }
         }
 
+        if (empty($this->fileas)) {
+            $message->fileas = Turba::formatName($object);
+        }
+
         return $message;
     }