]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/frametester.php
Added update_year.sh (still not fully flexible) and updated all years with it.
[mailer.git] / inc / modules / frametester.php
index b554c8f78c4be6df6c1d3bae6bd9c3a9f515b84f..d874566ebd34b09a7225ba1944d87b55b82523d8 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -49,9 +49,9 @@ if (isGetRequestElementSet('order')) {
                $content = getPoolDataFromId(getRequestElement('order'));
 
                // Finally is the entry valid?
-               if ((count($content) > 0) && ($content['data_type'] == 'TEMP')) {
+               if ((isFilledArray($content)) && ($content['data_type'] == 'TEMP')) {
                        // Load subject and URL (but forwhat do we need the subject line here???
-                       list($url) = SQL_FETCHROW($result);
+                       list($url) = sqlFetchRow($result);
 
                        // This fixes a white page
                        setPostRequestElement('url', $url);