Skip to content

Commit

Permalink
1024: Fixed initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Mar 21, 2024
1 parent 23f16ce commit ff1b943
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ public function __construct(
*/
private function initialize() {
$container = \Drupal::getContainer();
if (NULL === $this->config) {
if (empty($this->config)) {
$this->config = $container->get('hoeringsportal_deskpro.config');
}
if (NULL === $this->helper) {
if (empty($this->helper)) {
$this->helper = $container->get('hoeringsportal_deskpro.helper');
}
}
Expand Down

0 comments on commit ff1b943

Please sign in to comment.