Modify ↓
#2389 closed Bug/Fehler (fixed)
Fehler in /admin/includes/manufacturers_image.php
| 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
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
Attachments (0)
Note:
See TracTickets
for help on using tickets.

In 14793: