aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hotline/transaction_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go
index 86cc758..d99da53 100644
--- a/hotline/transaction_handlers.go
+++ b/hotline/transaction_handlers.go
@@ -1357,7 +1357,7 @@ func HandlePostNewsArt(cc *ClientConn, t *Transaction) (res []Transaction, err e
}
convertedArtID := uint32(artID)
bs := make([]byte, 4)
- binary.LittleEndian.PutUint32(bs, convertedArtID)
+ binary.BigEndian.PutUint32(bs, convertedArtID)
newArt := NewsArtData{
Title: string(t.GetField(fieldNewsArtTitle).Data),