Need to convert the workCountry value here also
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 17 Sep 2010 17:46:26 +0000 (13:46 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 17 Sep 2010 18:03:49 +0000 (14:03 -0400)
turba/lib/Driver.php

index f10489f..e24ae2d 100644 (file)
@@ -2353,8 +2353,7 @@ class Turba_Driver implements Countable
                 break;
 
             case 'workCountry':
-                $message->businesscountry = Horde_String::convertCharset($hash['workCountry'], $charset, 'utf-8');
-                break;
+                $message->businesscountry = Horde_String::convertCharset(Horde_Nls::getCountryISO($hash['workCountry']), $charset, 'utf-8');
 
             case 'homePhone':
                 /* Phone */