Some fixes as a result of prior commit changing status to active

This commit is contained in:
Deon George
2016-09-22 10:19:19 +10:00
parent f753dfe502
commit 8bd409d86f
8 changed files with 43 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ class Model_Service_Plugin_Ssl extends Model_Service_Plugin {
}
public function download_button() {
if (! $this->pk OR ! $this->service->status OR ! preg_match('/client/',$this->service->product->plugin()->extensions) OR $this->valid_to() < time())
if (! $this->pk OR ! $this->service->active OR ! preg_match('/client/',$this->service->product->plugin()->extensions) OR $this->valid_to() < time())
return '';
$output = Form::open(URL::link('user','ssl/download'),array('class'=>'form-inline'));