]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/helper/html/blocks/class_HtmlBlockHelper.php
Continued:
[core.git] / framework / main / classes / helper / html / blocks / class_HtmlBlockHelper.php
index 81339453bbc734a6e46f9856fbdd01d21ba29278..d0d6177fd7ca962e972fdac0132b6a56a2b7be85 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Helper;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
 use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
 
@@ -90,7 +91,7 @@ class HtmlBlockHelper extends BaseHtmlHelper implements HelpableTemplate {
         * @return      $withRegistration       Whether with registration date
         */
        public function ifIncludeRegistrationStamp () {
-               $withRegistration = ($this->getConfigInstance()->getConfigEntry('block_shows_registration') == 'Y');
+               $withRegistration = (FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('block_shows_registration') == 'Y');
                return $withRegistration;
        }