Plugin Directory

Changeset 1354793


Ignore:
Timestamp:
02/20/2016 04:14:59 PM (10 years ago)
Author:
derekheld
Message:

Fixed bug that didn't let you select the maximum of 100 images for import to Azure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • blue-storage/trunk/blue-storage-settings.php

    r1354792 r1354793  
    7676            $limit = intval($_POST['image_count']);
    7777
    78             if( $limit > 0 && $limit < 100 ) {
     78            if( $limit > 0 && $limit <= 100 ) {
    7979                global $wpdb;
    8080                $query = "SELECT * FROM $wpdb->posts WHERE post_type='attachment' AND guid NOT LIKE '%%blob.core.windows.net%%' LIMIT %d";
Note: See TracChangeset for help on using the changeset viewer.