]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/politician_stop_filter.php
mailer project continued:
[mailer.git] / inc / filter / politician_stop_filter.php
index 568394028dbcce5428efc72c572a100f18563d1d..89aeb096922f439b3051a3b07268e71b388706b1 100644 (file)
@@ -16,7 +16,7 @@
  * $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 *
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 function FILTER_DISPLAY_POLITICIAN_STOP_SNIPPET ($filterData) {
        // Shall we include the politician_stop snippet?
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
-       if ((!isGetRequestElementSet('frame')) && (isExtensionActive('politician_stop')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) {
+       if ((isFullPage()) && (isExtensionActive('politician_stop')) && (getModule() != 'admin') && ($GLOBALS['__header_sent'] == 2)) {
                // Then display it here
                loadPoliticianStopSnippet();
        } // END - if