Some fixes as a result of prior commit changing status to active
This commit is contained in:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user