Author: llampak
Description:
Actually I'm not sure if I'm not wrong, because I thought something like this should cause a crash, so maybe it's ok, but...
$pass = self::editSpacingCheck( $wgFlaggedRevsAutoconfirm['spacing'], $wgFlaggedRevsAutoconfirm['benchmarks'], $user ); # Make a key to store the results if ( !$pass ) { $wgMemc->set( $APSkipKey, 'true', 3600 * 24 * $spacing * ( $benchmarks - $needed - 1 ) ); return true; } else { $wgMemc->set( $sTestKey, 'true', 7 * 24 * 3600 ); }
$spacing, $benchmarks and $needed seem to be local variables in self::editSpacingCheck(). As far as I can see there are no such variables in the current scope. Or are there?
Version: unspecified
Severity: major