Pass correct variable to closure

Corrects Change-Id I3d8ace509ec0a9471cc68be3398bb1c108d6e570.

Change-Id: I5937aef91710e48c5417cff55f824ae67825097d
This commit is contained in:
Siebrand Mazeland 2013-10-14 21:39:05 +02:00
parent 377203eefc
commit 563bf12331

View file

@ -1041,7 +1041,7 @@ class AbuseFilter {
}
$fdb->onTransactionPreCommitOrIdle(
function() use ( $fdb, $logged_local_filters, $method ) {
function() use ( $fdb, $logged_global_filters, $method ) {
$fdb->update( 'abuse_filter',
array( 'af_hit_count=af_hit_count+1' ),
array( 'af_id' => $logged_global_filters ),