Skip to content
Snippets Groups Projects
Commit edf8d45c authored by mattwire's avatar mattwire
Browse files

Fix message display on PaymentProcessorWebhook UI when message is NULL

parent 7a418197
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,8 @@
};
this.abbreviate = function (text) {
return text.replace(/^(.{80}).+$/s, '$1 ...');
if (text === null) return '';
return text.replace(/^(.{80}).+$/s, '$1 ...');
}
this.load = function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment