Commit e7449cb8 authored by Michael Iseard's avatar Michael Iseard
Browse files

Return empty string if no campaign_id found

parent 6eed1556
......@@ -437,6 +437,8 @@ class TransactionsTable extends WP_List_Table {
*/
protected function column_campaign_id( array $item ): string {
if(!$item['campaign_id']) return '';
try {
$campaign = Settings::get_campaign( $item['campaign_id'] );
} catch ( Exception $e ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment