1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Merge pull request #819 from joshuadwire/enterprise-plan

Fix typos in enterprise plan changes
This commit is contained in:
Hillel Coren 2016-04-19 23:44:14 +03:00
commit c9ef281206

View File

@ -830,7 +830,7 @@ class Account extends Eloquent
// White Label // White Label
case FEATURE_WHITE_LABEL: case FEATURE_WHITE_LABEL:
if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$plan_details['expires'])) { if ($this->isNinjaAccount() || (!$selfHost && $planDetails && !$planDetails['expires'])) {
return false; return false;
} }
// Fallthrough // Fallthrough
@ -1262,7 +1262,7 @@ class Account extends Eloquent
public function attatchPDF() public function attatchPDF()
{ {
return $this->hasFeaure(FEATURE_PDF_ATTACHMENT) && $this->pdf_email_attachment; return $this->hasFeature(FEATURE_PDF_ATTACHMENT) && $this->pdf_email_attachment;
} }
public function getEmailDesignId() public function getEmailDesignId()