fixing a problem regarding the datehandling in Horde/iCalendar.php reported by Chr.Kaulich

This commit is contained in:
Klaus Leithoff 2009-10-02 09:05:09 +00:00
parent b287fce527
commit c819f15dbc

View File

@ -924,7 +924,7 @@ class Horde_iCalendar {
function _exportDateTime($value)
{
$temp = array();
if (!is_object($value) || is_array($value)) {
if (!is_object($value) && !is_array($value)) {
$TZOffset = 3600 * substr(date('O',$value), 0, 3);
$TZOffset += 60 * substr(date('O',$value), 3, 2);
$value -= $TZOffset;