Hello,
On manage-files.php when I check file and I select "Delete", wrong file is
deleted.
On HTML source, the file rel id (28) is the same on all files :
<input type="checkbox" name="files[]" value="28" />
I modified the file manage-files.php :
- <input type="checkbox" name="files[]" value="<?php echo $file_id; ?>
+ <input type="checkbox" name="files[]" value="<?php echo $row['id']; ?>
And includes/classes/actions-files.php (delete_files method) :
I delete the file directly with its identifier, and not with his id present in
the relationship table.
It works but only with delete action, but no with hide, show & unassign (is
specific for each user).
Server informations:
- Debian 7.6
- Apache 2.2.22
- PHP 5.4.4
Thank you.
Cyril
Original issue reported on code.google.com by cyril.go...@gmail.com on 17 Oct 2014 at 12:31
Original issue reported on code.google.com by
cyril.go...@gmail.com
on 17 Oct 2014 at 12:31