Closed mlocati closed 5 years ago
I have error in packages/pure_cookies_notice/blocks/pure_cookies_notice/controller.php::344 Concrete5 8.4.4
I should have fixed the error: now the code should run for concrete5 8.1+ (as specified in $appVersionRequired
of package controller).
In the new code, we could just use the $this->btHandle
approach, but I prefer the first approach ($this->getBlockTypeID()
) because it's faster, and I prefer using getters/setters instead properties.
BTW we need to wait for the next concrete5 version in order to use getBlockTypeID
(it has been introduced in #6976).
Thanks!
Closes #7
Preview: