What steps will reproduce the problem?
1. Go to Admin_Area -> Orphan Photos
2. Select one or more photos to delete
3. Click on Delete Button (on top)
What is the expected output? What do you see instead?
Photos aren't deleted !
What version of the product are you using? On what operating system?
CB 2.6
Correction :
Modify the file admin_area/orphan_photos.php (line 20) with this :
if(isset($_POST['delete_selected'])) //HACK : delete_selected in place of
deleted_selected
{
$total = count($_POST['check_photo']); //HACK Add count
for($i=0;$i<$total;$i++)
{
$cbphoto->delete_photo($_POST['check_photo'][$i],true); //HACK : Add true
}
$eh->flush();
e($total." photos has been deleted successfully.","m");
}
Original issue reported on code.google.com by didier.s...@gmail.com on 6 Apr 2013 at 10:25
Original issue reported on code.google.com by
didier.s...@gmail.com
on 6 Apr 2013 at 10:25