X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Flogging%2FLogEntry.php;h=e7095f0b399814c7ee69ea113fbae31355269a4a;hb=bb866e75d0c6e7e47f59371fd5b9e37fc6e66fc8;hp=1c5899ba85fae39c1dddde60ef9d8560d6a49f25;hpb=10e119b56c32aa99491e676f0208e4c2b402fabc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php index 1c5899ba85..e7095f0b39 100644 --- a/includes/logging/LogEntry.php +++ b/includes/logging/LogEntry.php @@ -634,7 +634,7 @@ class ManualLogEntry extends LogEntryBase { } $dbw->insert( 'logging', $data, __METHOD__ ); - $this->id = !is_null( $id ) ? $id : $dbw->insertId(); + $this->id = $dbw->insertId(); $rows = []; foreach ( $relations as $tag => $values ) {