|
@@ 1422-1428 (lines=7) @@
|
| 1419 |
|
$res = $GLOBALS['xoopsDB']->query($query); |
| 1420 |
|
$num_rows = $GLOBALS['xoopsDB']->getRowsNum($res); |
| 1421 |
|
|
| 1422 |
|
if ($num_rows == 0) { |
| 1423 |
|
$sender = ''; |
| 1424 |
|
} else { |
| 1425 |
|
while ($member = $GLOBALS['xoopsDB']->fetchObject($res)) { |
| 1426 |
|
$sender = $member->email; |
| 1427 |
|
} |
| 1428 |
|
} |
| 1429 |
|
$mailtext = _APCAL_RO_EVENT . ": $summary\n" . _APCAL_RO_DATE . ": $date\n" . _APCAL_RO_LOCATION . ": $location\n" . _APCAL_RO_LINK . ": $eventurl\n\n"; |
| 1430 |
|
$ret .= " |
| 1431 |
|
<br><br><br> |
|
@@ 1500-1503 (lines=4) @@
|
| 1497 |
|
$res = $GLOBALS['xoopsDB']->query($query); |
| 1498 |
|
$num_rows = $GLOBALS['xoopsDB']->getRowsNum($res); |
| 1499 |
|
|
| 1500 |
|
if( $num_rows == 0 ) $sender= "" ; |
| 1501 |
|
else while( $member = $GLOBALS['xoopsDB']->fetchObject($res) ) { |
| 1502 |
|
$sender=$member->email; |
| 1503 |
|
} |
| 1504 |
|
$mailtext = _APCAL_RO_EVENT.": $summary\n"._APCAL_RO_DATE.": $date\n"._APCAL_RO_LOCATION.": $location\n"._APCAL_RO_LINK.": $eventurl\n\n"; |
| 1505 |
|
$mailtext .= "Hallo $firstname $lastname\n\n"; |
| 1506 |
|
$ret .= " |