Modify

Opened 3 years ago

Closed 3 years ago

#2383 closed Bug/Fehler (fixed)

Undefined array key "configuration" in File: /admin/module_export.php on Line: 88

Reported by: noRiddle Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.8.0
Component: Admin Version: 2.0.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Wenn man ein Export (oder System) -Modul hat, welches bei Absenden des Formulares keine Post-Werte für configuration sendet, ergibt sich im Ticket-Titel geschriebenes Warning.
Ein Beispiel dafür ist der "DSGVO Export", welcher

Lösungsvorschlag:
Entweder man fragt in /admin/module_export.php in Zeile 88 noch isset() ab (imo beste Variante)

if (isset($_POST['configuration']) && is_array($_POST['configuration'])) {

oder man gibt solchen Modulen noch einen POST-Wert für configuration mit, hier z.B. configuration[MODULE_DSGVO_EXPORT_STATUS].

Gruß,
noRiddle

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 3 years ago

Resolution: fixed
Status: newclosed

In 14783:

fix #2383 - fix warning

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.