mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Added module custom id to general tab in event details
This commit is contained in:
parent
bc166dfba2
commit
92da78496b
@ -4682,6 +4682,16 @@ function events_page_general($event)
|
|||||||
|
|
||||||
$table_general->data[] = $data;
|
$table_general->data[] = $data;
|
||||||
|
|
||||||
|
$data = [];
|
||||||
|
$data[0] = __('Module custom ID');
|
||||||
|
if ($event['module_custom_id'] != '') {
|
||||||
|
$data[1] = $event['module_custom_id'];
|
||||||
|
} else {
|
||||||
|
$data[1] = '<i>'.__('N/A').'</i>';
|
||||||
|
}
|
||||||
|
|
||||||
|
$table_general->data[] = $data;
|
||||||
|
|
||||||
$table_data = $table_general->data;
|
$table_data = $table_general->data;
|
||||||
if (is_array($table_data)) {
|
if (is_array($table_data)) {
|
||||||
$table_data_total = count($table_data);
|
$table_data_total = count($table_data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user