Forums

NextGEN Gallery
Small bug when adding galleries (2 posts)

  1. PolCPP
    Member
    Posted 7 months ago #

    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/

  2. Alex Rabe
    Member
    Posted 7 months ago #

    Please report that at my GoogleCode page, I will fix that in a upcoming version, thanks !

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.