-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I'm receiving an undefined variable $template_dir_select when adding a product to an order with edit orders. The warning is: PHP Warning: Undefined variable $template_dir_select in /admin/includes/init_includes/init_eo_sba.php on line 314. Same warning occurs for line 315 in the same file.
I fixed the problem by changing line 314 to: if (!empty($template_dir_select) && file_exists(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'edit_orders_sba.php')) {
My apologies if this has been reported before.
Dave
zc157c, php 8.0.22
Metadata
Metadata
Assignees
Labels
No labels