dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix usage of $db->nextSequenceValue()
[lhc/web/wiklou.git]
/
includes
/
logging
/
LogPage.php
diff --git
a/includes/logging/LogPage.php
b/includes/logging/LogPage.php
index
64102b7
..
f2b1670
100644
(file)
--- a/
includes/logging/LogPage.php
+++ b/
includes/logging/LogPage.php
@@
-110,7
+110,7
@@
class LogPage {
'log_params' => $this->params
];
$dbw->insert( 'logging', $data, __METHOD__ );
- $newId =
!is_null( $log_id ) ? $log_id :
$dbw->insertId();
+ $newId = $dbw->insertId();
# And update recentchanges
if ( $this->updateRecentChanges ) {