X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload-earning.php;h=3a809ce0bd8673e4d4fb69e5eb146ab1bbc228f2;hb=77669502ccc2779d32a842f6d523fb68169fadda;hp=5dc576e2068dc5c98606d685134def15dcb8bc4e;hpb=2379934be6a196a54f4155bb8e24c49b20736969;p=mailer.git diff --git a/inc/loader/load-earning.php b/inc/loader/load-earning.php index 5dc576e206..3a809ce0bd 100644 --- a/inc/loader/load-earning.php +++ b/inc/loader/load-earning.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * * it under the terms of the GNU General Public License as published by * @@ -47,7 +47,7 @@ if (!defined('__SECURITY')) { if (($GLOBALS['cache_instance']->loadCacheFile('earning')) && ($GLOBALS['cache_instance']->extensionVersionMatches('earning'))) { // Load cache $GLOBALS['cache_array']['earning'] = $GLOBALS['cache_instance']->getArrayFromCache(); -} elseif (isHtmlOutputMode()) { +} elseif ((isHtmlOutputMode()) && (isExtensionInstalled('earning'))) { // Create cache file $GLOBALS['cache_instance']->init();