Changeset 2c48c19 in github


Ignore:
Timestamp:
Jun 10, 2012 4:10:37 AM (12 months ago)
Author:
Aleksander Machniak <alec@…>
Branches:
release-0.8
Children:
64584be
Parents:
a2ec2eb
git-author:
Aleksander Machniak <alec@…> (06/10/12 04:09:01)
git-committer:
Aleksander Machniak <alec@…> (06/10/12 04:10:37)
Message:

Fix storing X-ANNIVERSARY date in vCard format (#1488527)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r505f6e5 r2c48c19  
    22=========================== 
    33 
     4- Fix storing X-ANNIVERSARY date in vCard format (#1488527) 
    45- Update to Mail_Mime-1.8.5 (#1488521) 
    56- Fix XSS vulnerability in message subject handling using Larry skin (#1488519) 
  • program/include/rcube_vcard.php

    r6da0938 r2c48c19  
    316316 
    317317      case 'birthday': 
    318         if ($val = rcube_strtotime($value)) 
    319           $this->raw['BDAY'][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); 
     318      case 'anniversary': 
     319        if (($val = rcube_strtotime($value)) && ($fn = self::$fieldmap[$field])) 
     320          $this->raw[$fn][] = array(0 => date('Y-m-d', $val), 'value' => array('date')); 
    320321        break; 
    321322 
Note: See TracChangeset for help on using the changeset viewer.