diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index c5a5257c..6e05fdf0 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -803,7 +803,7 @@ class General implements iAction $db->update('rank_data', [ 'value' => $rankVal ], 'general_id = %i AND type = %s', $generalID, $rankKey->value); - $this->rankVarRead[$rankKey->value] = $rankVal; + $this->rankVarRead[$rankKey] = $rankVal; } $result = true; }