diff --git a/inc/tasks/rexshop.php b/inc/tasks/rexshop.php index 6462203..88f0f9b 100644 --- a/inc/tasks/rexshop.php +++ b/inc/tasks/rexshop.php @@ -46,5 +46,5 @@ function task_rexshop($task) ], 'id=' . $sub['id']); } - add_task_log($task, $lang->task_rexshop_ran); + add_task_log($task, property_exists($lang, 'task_rexshop_ran') ? $lang->task_rexshop_ran : 'RexShop Expired Subscriptions Ran Successfully.')); }