Skip to content

Commit

Permalink
fix: Order notes in vendor dashboard worng insert author data issue f…
Browse files Browse the repository at this point in the history
…ixed #852 (#855)
  • Loading branch information
alamgircsebd authored Jul 15, 2020
1 parent 4338b52 commit fa9b3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public function add_order_note() {

if ( $post_id > 0 ) {
$order = dokan()->order->get( $post_id );
$comment_id = $order->add_order_note( $note, $is_customer_note );
$comment_id = $order->add_order_note( $note, $is_customer_note, true );

echo '<li rel="' . esc_attr( $comment_id ) . '" class="note ';
if ( $is_customer_note ) {
Expand Down

0 comments on commit fa9b3ec

Please sign in to comment.