Skip to content

Commit

Permalink
Fix #9036 - change log level according it message
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleh Serhiienko authored and jack7anderson7 committed Oct 15, 2024
1 parent 8e94309 commit d60afb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/Relationships/M2MRelationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function getLinkedDefForModuleByRelationship($module)
//Multiple links with same relationship name
else {
if (is_array($results)) {
$GLOBALS['log']->error("Warning: Multiple links found for relationship {$this->name} within module {$module}");
$GLOBALS['log']->warn("Multiple links found for relationship {$this->name} within module {$module}");
return $this->getMostAppropriateLinkedDefinition($results);
} else {
return false;
Expand Down

0 comments on commit d60afb4

Please sign in to comment.