Opened 4 months ago

Closed 4 months ago

#2045 closed Bug/Fehler (fixed)

module_export.php - Suche nach leerem configuration_key

Reported by: Owned by: somebody
Priority: normal Milestone: modified-shop-
Component: Admin Version:


Auch wenn $module_keys leer ist, wird eine Suche nach passenden configuration_keys in der Datenbank durchgeführt.


Suchen nach:

		$key_value_query = xtc_db_query("SELECT configuration_key,
										   FROM " . TABLE_CONFIGURATION . "
										  WHERE configuration_key IN ('" . implode("', '", $module_keys) . "')
									   ORDER BY FIELD(configuration_key, '".implode("', '", $module_keys)."')");
		while ($key_value = xtc_db_fetch_array($key_value_query)) {
		  $keys_extra[$key_value['configuration_key']] = array(
			'title' => constant(strtoupper($key_value['configuration_key'] .'_TITLE')),
			'description' => constant(strtoupper($key_value['configuration_key'] .'_DESC')),
			'value' => $key_value['configuration_value'],
			'use_function' => $key_value['use_function'],
			'set_function' => $key_value['set_function'],

DAVOR einfügen:

if (!empty($module_keys)) {

DANACH einfügen:


Attachments (0)

Change History (2)

comment:1 Changed 4 months ago by Tomcraft

  • Milestone set to modified-shop-

comment:2 Changed 4 months ago by GTB

  • Resolution set to fixed
  • Status changed from new to closed

In 13574:

fix #2045 - check for empty result

Add Comment

Modify Ticket

as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.