From: Aaron Schulz Date: Wed, 27 Mar 2019 00:08:37 +0000 (-0700) Subject: objectcache: fix return value type in SqlBagOStuff::incr X-Git-Tag: 1.34.0-rc.0~2317^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=f80671a7841b7750a93b94882f3229cb803cbd0f;p=lhc%2Fweb%2Fwiklou.git objectcache: fix return value type in SqlBagOStuff::incr Change-Id: I14a70956f77f13346857236eda5c4b6fb80c6223 --- diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index e450212dc6..0c777abec3 100644 --- a/includes/objectcache/SqlBagOStuff.php +++ b/includes/objectcache/SqlBagOStuff.php @@ -519,7 +519,7 @@ class SqlBagOStuff extends BagOStuff { } } catch ( DBError $e ) { $this->handleWriteError( $e, $db, $serverIndex ); - return null; + return false; } return $newValue;