Console error, variable undefined in PHP 8
Azonesbz opened this issue · 1 comments
Azonesbz commented
When I try to configure a model, the "definition of data" model variable is not visible.
Error report :
console.log('window_id','
[2023-11-06 16:16:04] (ERROR @ core/components/migx/elements/tv/migx.tpl : 85)
PHP warning: Undefined array key "window_id"
console.log('window_id','{$smarty.request.window_id}'); {if array_key_exists('window_id',$smarty.request)} this.parent_window = '{$smarty.request.window_id}'; {/if}
fixed:
{if array_key_exists('window_id',$smarty.request)} console.log('window_id','{$smarty.request.window_id}'); this.parent_window = '{$smarty.request.window_id}'; {/if}