﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking
2389	Fehler in /admin/includes/manufacturers_image.php	noRiddle	somebody	"Da ist wohl durch copy & paste ein Fehlerchen passiert:
{{{
defined( '_VALID_XTC' ) or die( 'Direct Access to this location is not allowed.' );

if (!isset($banners_image_name_process)) {
  $manufacturers_image_name_process = $manufacturers_image_name;
}

if (is_file(DIR_FS_CATALOG_IMAGES.'banner/'.$manufacturers_image_name_process)) {
  unlink(DIR_FS_CATALOG_IMAGES.'banner/'.$manufacturers_image_name_process);
}

}}}

Es geht um ''""banner""'' im Pfad bzw. ''""banners""'' in der Variablen.

Ich denke das sollte wohl so aussehen:
{{{
if (!isset($manufacturers_image_name_process)) {
  $manufacturers_image_name_process = $manufacturers_image_name;
}

if (is_file(DIR_FS_CATALOG_IMAGES.'manufacturers/'.$manufacturers_image_name_process)) {
  unlink(DIR_FS_CATALOG_IMAGES.'manufacturers/'.$manufacturers_image_name_process);
}

}}}


Gruß,
noRiddle
"	Bug/Fehler	closed	normal	modified-shop-2.0.8.0	Admin	2.0.7.2	fixed				
