Line 31 should be
$rows = array(30 => 30, 100 => 100, 500 => 500, 1000 => 1000, 2500 => 2500, 5000 => 5000, 10000 => 10000);

otherwise the select is created as <option value="0">30</option><option value="1">100</option> and so on.

This causes stocks to either not update or only update a very few at a time as stockapi_rows variable will be stored as the value.

CommentFileSizeAuthor
#1 stockapi.module.patch.txt553 bytesoadaeh

Comments

oadaeh’s picture

StatusFileSize
new553 bytes

Maybe this patch will fix your problem (if you're still using the 4.6 version of this module). I do not have a 4.6 Drupal installation, so I haven't actually tested whether it works or not.

matt westgate’s picture

Status: Active » Closed (fixed)