Skip to content

Commit

Permalink
Update OpenGraphStoreLocator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyborn authored Nov 21, 2022
1 parent d76dc07 commit afc94b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/classes/OpenGraphStoreLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function addModuleData( $objModule ): void {
$alias = Input::get('auto_item') ? Input::get('auto_item') : Input::get('store');

$objStore = NULL;
$objStore = StoresModel::findByIdOrAlias( $alias );
$objStore = StoresModel::findByIdOrAlias( ($alias ?? '') );

if( null !== $objStore ) {

Expand Down

0 comments on commit afc94b0

Please sign in to comment.