4images Forum & Community

4images Help / Hilfe => Bug Fixes & Patches => Topic started by: V@no on November 22, 2008, 07:26:42 PM

Title: [1.7 - 1.7.6] Wrong message if image was not deleted from database (in ACP)
Post by: V@no on November 22, 2008, 07:26:42 PM
Thank you ch€ri{Bi}² for discovering and reporting this bug.

If something went wrong while deleting an image in ACP (Admin Control Panel) it will show a "success" message instead of "error".

To fix that find in admin/images.php (note, this is only a part of the line):
Code: [Select]
$error_log[] = "<b>".$lang['image_delete_success']
Replace it with:
Code: [Select]
$error_log[] = "<b>".$lang['image_delete_error']

P.S.
This bug only affects default, unmodified admin/images.php