Plugin Directory

Changeset 1274926


Ignore:
Timestamp:
10/28/2015 10:49:07 PM (10 years ago)
Author:
LinSoftware
Message:

fixed logic error in new code (added in previous update) that was causing an infinite loop when all items were already looked up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • check-amazon-link/trunk/AzWorker.php

    r1274849 r1274926  
    890890                    // reset it to 0
    891891                    $azlc_logger->write( "table has data, but row was null, resetting to 0" );
    892                     $internal_options_array['continual_row'] = 0;
    893                     update_option( "azlc_plugin_options_internal", $internal_options_array );
    894                     $this->lookup_next_asin();
     892                    if($internal_options_array['continual_row'] !==0) {
     893                        $internal_options_array['continual_row'] = 0;
     894                        update_option( "azlc_plugin_options_internal", $internal_options_array );
     895                    }
     896
    895897                }
    896898
Note: See TracChangeset for help on using the changeset viewer.