Changed comments

This commit is contained in:
Michael 2021-05-26 18:15:07 +00:00
parent 76e6a71822
commit c6a56985a8
2 changed files with 2 additions and 2 deletions

View file

@ -1355,7 +1355,7 @@ class Item
public static function storeForUserByUriId(int $uri_id, int $uid, array $fields = [], int $source_uid = 0)
{
if ($uid == $source_uid) {
Logger::warning('target UID must be be equal to the source UID', ['uri-id' => $uri_id, 'uid' => $uid]);
Logger::warning('target UID must not be be equal to the source UID', ['uri-id' => $uri_id, 'uid' => $uid]);
return 0;
}