• Hi, i’ve been trying to add 2 galleries that use the same folder, but it got empty folder responses when trying it.

    After taking a peek at the code in admin/functions.php:169 we have this.

    $gallery_id = $wpdb->get_var("SELECT gid FROM $wpdb->nggallery WHERE path = '$galleryfolder' ");

    That looks on the database for the gallery_id. Which is quite weird since we’re already passing it via GET, so i replaced by.

    $gallery_id = $_GET["gid"];

    and works like a charm. I have seen any sideeffects from this.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NextGEN Gallery] Small bug when adding galleries’ is closed to new replies.