mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Use intval() to make string concatenation in DB query less scary
Change-Id: I51d7744b8c7f967e47777b5f3a6e491f4e65f5c8
This commit is contained in:
parent
24cd62e322
commit
58b7cc7cfd
|
@ -339,7 +339,7 @@ class MWEchoEmailBatch {
|
|||
$res = $dbr->select(
|
||||
array( 'echo_email_batch' ),
|
||||
array( 'eeb_user_id' ),
|
||||
array( 'eeb_user_id > ' . $startUserId ),
|
||||
array( 'eeb_user_id > ' . intval( $startUserId ) ),
|
||||
__METHOD__,
|
||||
array( 'ORDER BY' => 'eeb_user_id', 'LIMIT' => $batchSize )
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue