Index: trunk/phase3/includes/DBDataObject.php |
— | — | @@ -553,8 +553,8 @@ |
554 | 554 | __METHOD__ |
555 | 555 | ); |
556 | 556 | |
557 | | - if ( $success && static::hasField( $field ) ) { |
558 | | - static::setField( $field, static::getField( $field ) + $amount ); |
| 557 | + if ( $success && $this->hasField( $field ) ) { |
| 558 | + $this->setField( $field, $this->getField( $field ) + $amount ); |
559 | 559 | } |
560 | 560 | |
561 | 561 | return $success; |