Skip to content

Commit

Permalink
inpsyde-google-tag-manager // fix autoload class_exists check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrico committed Jun 28, 2023
1 parent eefd762 commit 1719ecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inpsyde-google-tag-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function checkPluginRequirements(): bool
return false;
}

if (! class_exists(GoogleTagManager::class)) {
if (! class_exists(Event\LogEvent::class)) {
$autoloader = __DIR__ . '/vendor/autoload.php';
if (! file_exists($autoloader)) {
adminNotice(
Expand Down

0 comments on commit 1719ecf

Please sign in to comment.