Plugin Directory

Changeset 901910


Ignore:
Timestamp:
04/24/2014 06:45:33 PM (12 years ago)
Author:
shauno
Message:

Test change to help an edge case back (no idea what $act_gid var is that is being used)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nextgen-gallery-custom-fields/trunk/ngg-custom-fields.php

    r883748 r901910  
    823823               
    824824               
    825                 $value = $wpdb->get_row("SELECT * FROM ".$wpdb->prefix."nggcf_field_values WHERE pid = '".$wpdb->escape($act_gid)."' AND fid = '".$val->id."' AND ngg_type = '".NGGCF_GALLERY."'");
     825                $value = $wpdb->get_row("SELECT * FROM ".$wpdb->prefix."nggcf_field_values WHERE pid = '".$wpdb->escape($_GET['gid'])."' AND fid = '".$val->id."' AND ngg_type = '".NGGCF_GALLERY."'");
    826826                switch($val->field_type) {
    827827                case NGGCF_FIELD_TYPE_INPUT :
Note: See TracChangeset for help on using the changeset viewer.