Replace an old urlencode by encode_item_id()