Plugin Directory

Changeset 609776


Ignore:
Timestamp:
10/08/2012 08:48:34 PM (13 years ago)
Author:
rzen
Message:

Fixed an issue with uploads being excluded from view no matter what

Location:
nextgen-public-uploader
Files:
5 deleted
2 edited
7 copied

Legend:

Unmodified
Added
Removed
  • nextgen-public-uploader/tags/1.7.1/inc/class.npu_uploader.php

    r608725 r609776  
    8585        }
    8686        if (count($imageslist) > 0) {
    87             if (get_option('npu_exclude_select') == "Disabled") {
     87            if ( ! get_option('npu_exclude_select')  ) {
    8888                $npu_exclude_id = 0;
    8989            } else {
     
    169169        }
    170170        if (count($imageslist) > 0) {
    171             if (get_option('npu_exclude_select') == "Disabled") {
     171            if ( ! get_option('npu_exclude_select')  ) {
    172172                $npu_exclude_id = 0;
    173173            } else {
  • nextgen-public-uploader/tags/1.7.1/inc/npu-upload.php

    r608725 r609776  
    459459            }
    460460            if (count($arrUpdateFields) > 0) {
    461             if (get_option('npu_exclude_select') == "Disabled") {
     461            if ( ! get_option('npu_exclude_select')  ) {
    462462                $npu_exclude_id = 0;
    463463            } else {
  • nextgen-public-uploader/trunk/inc/class.npu_uploader.php

    r608725 r609776  
    8585        }
    8686        if (count($imageslist) > 0) {
    87             if (get_option('npu_exclude_select') == "Disabled") {
     87            if ( ! get_option('npu_exclude_select')  ) {
    8888                $npu_exclude_id = 0;
    8989            } else {
     
    169169        }
    170170        if (count($imageslist) > 0) {
    171             if (get_option('npu_exclude_select') == "Disabled") {
     171            if ( ! get_option('npu_exclude_select')  ) {
    172172                $npu_exclude_id = 0;
    173173            } else {
  • nextgen-public-uploader/trunk/inc/npu-upload.php

    r608725 r609776  
    459459            }
    460460            if (count($arrUpdateFields) > 0) {
    461             if (get_option('npu_exclude_select') == "Disabled") {
     461            if ( ! get_option('npu_exclude_select')  ) {
    462462                $npu_exclude_id = 0;
    463463            } else {
Note: See TracChangeset for help on using the changeset viewer.