Destinations - List: Resolve PHP 8.1 warning.

This commit is contained in:
fusionate 2023-07-31 21:07:30 +00:00
parent 5e04c63824
commit bd12b748e6
No known key found for this signature in database
1 changed files with 7 additions and 5 deletions

View File

@ -300,6 +300,7 @@
$destination_data = '';
//prepare the destination actions
if (!empty($row['destination_actions'])) {
$destination_actions = json_decode($row['destination_actions'], true);
if (!empty($destination_actions)) {
foreach($destination_actions as $action) {
@ -307,6 +308,7 @@
$destination_data = $action['destination_data'];
}
}
}
//create the row link
if (permission_exists('destination_edit')) {