|
@@ 1072-1077 (lines=6) @@
|
| 1069 |
|
$component->setConfig( 'nl', $this->getConfig( 'nl' )); |
| 1070 |
|
$component->setConfig( 'unique_id', $this->getConfig( 'unique_id' )); |
| 1071 |
|
$component->setConfig( 'format', $this->getConfig( 'format' )); |
| 1072 |
|
if( !in_array( $component->objName, array( 'valarm', 'vtimezone' ))) { |
| 1073 |
|
unset( $component->propix ); |
| 1074 |
|
/* make sure dtstamp and uid is set */ |
| 1075 |
|
$dummy1 = $component->getProperty( 'dtstamp' ); |
| 1076 |
|
$dummy2 = $component->getProperty( 'uid' ); |
| 1077 |
|
} |
| 1078 |
|
if( !$arg1 ) { |
| 1079 |
|
$this->components[] = $component->copy(); |
| 1080 |
|
return TRUE; |
|
@@ 6733-6738 (lines=6) @@
|
| 6730 |
|
$component->setConfig( 'nl', $this->getConfig( 'nl' )); |
| 6731 |
|
$component->setConfig( 'unique_id', $this->getConfig( 'unique_id' )); |
| 6732 |
|
$component->setConfig( 'format', $this->getConfig( 'format' )); |
| 6733 |
|
if( !in_array( $component->objName, array( 'valarm', 'vtimezone', 'standard', 'daylight' ))) { |
| 6734 |
|
unset( $component->propix ); |
| 6735 |
|
/* make sure dtstamp and uid is set */ |
| 6736 |
|
$dummy = $component->getProperty( 'dtstamp' ); |
| 6737 |
|
$dummy = $component->getProperty( 'uid' ); |
| 6738 |
|
} |
| 6739 |
|
if( !$arg1 ) { |
| 6740 |
|
$this->components[] = $component->copy(); |
| 6741 |
|
return TRUE; |