Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 3dfec841d0f091e7d859da80b543eeeed1275061

Do not fail on checking new field value
  
333333 $this->Version->useDbConfig = 'shadow';
334334
335335 $version_status = ($addon['Addon']['status']==STATUS_PUBLIC ? STATUS_PUBLIC : $valid_status);
336 if ($addon['Addon']['addon_version'])
336 if (isset($addon['Addon']['addon_version']))
337337 $version_id = $this->Version->getVersionByAddonIdAndVersion($id, $addon['Addon']['addon_version'], $version_status, $app_ver);
338338 else
339339 $version_id = $this->Version->getVersionByAddonId($id, $version_status, $app_ver);
  
795795 }
796796
797797 function isLatest() {
798 return !$this->addon['Addon']['addon_version'] && (isset($this->options['is_latest']) ?
798 return !isset($this->addon['Addon']['addon_version']) && (isset($this->options['is_latest']) ?
799799 $this->options['is_latest'] :
800800 ($this->addonStatus() == STATUS_PUBLIC));
801801 }