Fixed bug where order note text is saved as order ID
This commit is contained in:
@@ -56,7 +56,7 @@ class Wiaas_Support_Api {
|
||||
$success = $mailer->send( $recipient, $subject, $message, $headers );
|
||||
|
||||
if ($success) {
|
||||
wc_create_order_note($message = $request['id'] , $message, true );
|
||||
wc_create_order_note($request['id'] , $message, true );
|
||||
return wiaas_api_notice('EMAIL_SENT', 'success');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user