|
@@ 1506-1512 (lines=7) @@
|
| 1503 |
|
$res = $GLOBALS['xoopsDB']->query($query); |
| 1504 |
|
$num_rows = $GLOBALS['xoopsDB']->getRowsNum($res); |
| 1505 |
|
|
| 1506 |
|
if ($num_rows == 0) { |
| 1507 |
|
$sender = ''; |
| 1508 |
|
} else { |
| 1509 |
|
while ($member = $GLOBALS['xoopsDB']->fetchObject($res)) { |
| 1510 |
|
$sender = $member->email; |
| 1511 |
|
} |
| 1512 |
|
} |
| 1513 |
|
$mailtext = _APCAL_RO_EVENT . ": $summary\n" . _APCAL_RO_DATE . ": $date\n" . _APCAL_RO_LOCATION . ": $location\n" . _APCAL_RO_LINK . ": $eventurl\n\n"; |
| 1514 |
|
$ret .= " |
| 1515 |
|
<br><br><br> |
|
@@ 1585-1588 (lines=4) @@
|
| 1582 |
|
$res = $GLOBALS['xoopsDB']->query($query); |
| 1583 |
|
$num_rows = $GLOBALS['xoopsDB']->getRowsNum($res); |
| 1584 |
|
|
| 1585 |
|
if( $num_rows == 0 ) $sender= "" ; |
| 1586 |
|
else while( $member = $GLOBALS['xoopsDB']->fetchObject($res) ) { |
| 1587 |
|
$sender=$member->email; |
| 1588 |
|
} |
| 1589 |
|
$mailtext = _APCAL_RO_EVENT.": $summary\n"._APCAL_RO_DATE.": $date\n"._APCAL_RO_LOCATION.": $location\n"._APCAL_RO_LINK.": $eventurl\n\n"; |
| 1590 |
|
$mailtext .= "Hallo $firstname $lastname\n\n"; |
| 1591 |
|
$ret .= " |