- // Do we have an entry?
- if (SQL_NUMROWS($result_master) == 1) {
- // Mail order / bonus mail found!
- // @TODO Rewrite this to $content = SQL_FETCHARRAY(), look some lines above for two differrent queries
- list($stats_id, $sender, $subj, $text, $url, $stamp, $max) = SQL_FETCHROW($result_master);
+ // Is there an entry?
+ if (sqlNumRows($result_master) == 1) {
+ // Mail order / bonus mail found
+ $poolData = sqlFetchArray($result_master);