]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_coupon.php
Also these SQLs require support for NULL
[mailer.git] / inc / modules / admin / what-list_coupon.php
index 2f6f89c79a3c43f91710df52a6dbb862b2bae2db..e438316d82af88660e5a81c52f579b22d9c15d8f 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -43,7 +43,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
-if (isGetRequestParameterSet('coupon_id')) {
+if (isGetRequestElementSet('coupon_id')) {
        // List userids for given coupon
        $result = SQL_QUERY_ESC('SELECT
        u.`coupon_id`,
@@ -63,7 +63,7 @@ WHERE
 ORDER BY
        u.`cashed_on` DESC',
                array(
-                       bigintval(getRequestParameter('coupon_id'))
+                       bigintval(getRequestElement('coupon_id'))
                ), __FILE__, __LINE__);
 
        // Do we have entries?