diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php index 0a1dcd20..cb7ff1c7 100644 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -122,10 +122,9 @@ class User { * Update a single row in a table * @param userID int Account ID * @param field string Field to update - * @param table string Table to update * @return bool **/ - private function updateSingle($userID, $field, $table) { + private function updateSingle($userID, $field) { $stmt = $this->mysqli->prepare("UPDATE $this->table SET " . $field['name'] . " = ? WHERE userId = ? LIMIT 1"); if ($this->checkStmt($stmt)) { $stmt->bind_param($field['type'].'i', $field['value'], $userID);