Merge "objectcache: fix return value type in SqlBagOStuff::incr"
[lhc/web/wiklou.git] / includes / objectcache / SqlBagOStuff.php
index 33b1233..4fa9999 100644 (file)
@@ -519,7 +519,7 @@ class SqlBagOStuff extends BagOStuff {
                        }
                } catch ( DBError $e ) {
                        $this->handleWriteError( $e, $db, $serverIndex );
-                       return null;
+                       return false;
                }
 
                return $newValue;