From: Aaron Schulz Date: Tue, 17 Sep 2013 22:23:44 +0000 (-0700) Subject: Fixed check of BagOStuff set() return value in mctest X-Git-Tag: 1.31.0-rc.0~18737 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=50836d0907da598295a71ca2d78a95bd1d89661e;p=lhc%2Fweb%2Fwiklou.git Fixed check of BagOStuff set() return value in mctest Change-Id: I6e69cdc24b9b40132641205cb40f64bb5db45f70 --- diff --git a/maintenance/mctest.php b/maintenance/mctest.php index 28b041aaef..eda101e76c 100644 --- a/maintenance/mctest.php +++ b/maintenance/mctest.php @@ -80,7 +80,7 @@ class mcTest extends Maintenance { $get = 0; $time_start = $this->microtime_float(); for ( $i = 1; $i <= $iterations; $i++ ) { - if ( !is_null( $mcc->set( "test$i", $i ) ) ) { + if ( $mcc->set( "test$i", $i ) ) { $set++; } }