$x->ltype = $ltype;
$complete = $x->fetchAll('lkey');
- print_R($complete);exit;
- $list = $this->availableCodes($ltype);
+ $list = $this->availableCodes($ltype);
+ print_R(count($list));exit;
foreach($list as $lkey) {
// skip ones we know we have done...
if (in_array($lkey, $complete)) {