* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
UNIX_TIMESTAMP(u.`cashed_on`) AS `cashed_on`,
UNIX_TIMESTAMP(d.`coupon_created`) AS `coupon_created`,
UNIX_TIMESTAMP(d.`coupon_expired`) AS `coupon_expired`,
- d.`points`, d.`total_created`, d.`total_cashed`, d.`coupon_description`
+ d.`points`,
+ d.`total_created`,
+ d.`total_cashed`,
+ d.`coupon_description`
FROM
`{?_MYSQL_PREFIX?}_user_coupons` AS u
INNER JOIN
), __FILE__, __LINE__);
// Do we have entries?
- if (SQL_NUMROWS($result) > 0) {
+ if (!SQL_HASZERONUMS($result)) {
// Init variable
$OUT = '';
d.`id` ASC', __FILE__, __LINE__);
// Do we have entries?
- if (SQL_NUMROWS($result) > 0) {
+ if (!SQL_HASZERONUMS($result)) {
// Init variable
$OUT = '';