X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Factive_functions.php;h=97390364d67be3284f1c7e52a79a8743a7c71179;hb=77183894e9b5683166bc00a1735e8897c57ef699;hp=bdc32fa76dbb1910768bb3632e358df2b052c6d9;hpb=b8a6f8012aa3509d8e0f8fd078e044f20e80707a;p=mailer.git
diff --git a/inc/libs/active_functions.php b/inc/libs/active_functions.php
index bdc32fa76d..97390364d6 100644
--- a/inc/libs/active_functions.php
+++ b/inc/libs/active_functions.php
@@ -18,6 +18,7 @@
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -43,12 +44,14 @@ if (!defined('__SECURITY')) {
// Filter for adding link to "active list"
function FILTER_ADD_LINK_ACTIVE_LIST () {
- // Are the extensions online and active there?
- if (isExtensionActive('online')) {
- // Init content
+ // Is ext-active/online there?
+ if ((isExtensionActive('active')) && (isExtensionActive('online'))) {
+ // Init fake-content because there is no `what`='active' in database
$content = array(
- 'menu' => "",
- 'what' => 'active'
+ 'menu' => '',
+ 'what' => 'active',
+ 'visible' => 'Y',
+ 'locked' => 'N'
);
// Add link to "we were active today" page