Applied patches by Nicolas progweb at free.fr - https://mail.kde.org/pipermail/owncloud/2012-April/002900.html
This commit is contained in:
parent
4ea927a798
commit
0cd9570277
|
@ -149,6 +149,7 @@ class OC_Contacts_App {
|
||||||
'WORK' => $l->t('Work'),
|
'WORK' => $l->t('Work'),
|
||||||
'TEXT' => $l->t('Text'),
|
'TEXT' => $l->t('Text'),
|
||||||
'VOICE' => $l->t('Voice'),
|
'VOICE' => $l->t('Voice'),
|
||||||
|
'MSG' => $l->t('Message'),
|
||||||
'FAX' => $l->t('Fax'),
|
'FAX' => $l->t('Fax'),
|
||||||
'VIDEO' => $l->t('Video'),
|
'VIDEO' => $l->t('Video'),
|
||||||
'PAGER' => $l->t('Pager'),
|
'PAGER' => $l->t('Pager'),
|
||||||
|
|
|
@ -214,7 +214,8 @@ class OC_Contacts_VCard{
|
||||||
$prodid = trim($vcard->getAsString('PRODID'));
|
$prodid = trim($vcard->getAsString('PRODID'));
|
||||||
if(!$prodid) {
|
if(!$prodid) {
|
||||||
$appinfo = OC_App::getAppInfo('contacts');
|
$appinfo = OC_App::getAppInfo('contacts');
|
||||||
$prodid = '-//ownCloud//NONSGML '.$appinfo['name'].' '.$appinfo['version'].'//EN';
|
$appversion = OC_App::getAppVersion('contacts');
|
||||||
|
$prodid = '-//ownCloud//NONSGML '.$appinfo['name'].' '.$appversion.'//EN';
|
||||||
$vcard->setString('PRODID', $prodid);
|
$vcard->setString('PRODID', $prodid);
|
||||||
}
|
}
|
||||||
$now = new DateTime;
|
$now = new DateTime;
|
||||||
|
|
Loading…
Reference in New Issue