From: Platonides Date: Wed, 15 Feb 2012 16:04:33 +0000 (+0000) Subject: Follow-up r111468, there were some changes left. X-Git-Tag: 1.31.0-rc.0~24703 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=a4a092807246c88221fec3363f8e066242081a44;p=lhc%2Fweb%2Fwiklou.git Follow-up r111468, there were some changes left. --- diff --git a/includes/DBDataObject.php b/includes/DBDataObject.php index 791f377c16..89765b15ae 100644 --- a/includes/DBDataObject.php +++ b/includes/DBDataObject.php @@ -553,8 +553,8 @@ abstract class DBDataObject { __METHOD__ ); - if ( $success && static::hasField( $field ) ) { - static::setField( $field, static::getField( $field ) + $amount ); + if ( $success && $this->hasField( $field ) ) { + $this->setField( $field, $this->getField( $field ) + $amount ); } return $success;