What steps will reproduce the problem?
1. Create a Gallery and add some photos
2. Copy the gallery path
3. Create a new Gallery, put that path and try to scan the folder.
What is the expected output?
Photos added to the gallery.
What do you see instead?
No changes.
Actually you can fix it replacing in admin/functions.php:169:
$gallery_id = $wpdb->get_var("SELECT gid FROM $wpdb->nggallery WHERE path =
'$galleryfolder' ");
For :
$gallery_id = $_GET["gid"];
I haven't found any issues because of it.
Original issue reported on code.google.com by Polcm...@gmail.com on 26 Oct 2011 at 7:52
Original issue reported on code.google.com by
Polcm...@gmail.com
on 26 Oct 2011 at 7:52