mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
Cleanup & Spelling
This commit is contained in:
1 parent
e96828b52a
commit
bc5c5657f3
1 file changed
+3
-3
@@ -55,7 +55,7 @@ class Client implements \FOSSBilling\InjectionAwareInterface
|
||||
$hash_access = $systemService->getParamValue('invoice_accessible_from_hash', '1');
|
||||
|
||||
// If hash_access is not 0 or if a client is logged in, get the logged-in client
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access == '0') {
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access === '0') {
|
||||
$this->redirectIfNotInvoiceBuyer($app, $invoice);
|
||||
}
|
||||
return $app->render('mod_invoice_invoice', ['invoice' => $invoice]);
|
||||
@@ -72,7 +72,7 @@ class Client implements \FOSSBilling\InjectionAwareInterface
|
||||
$hash_access = $systemService->getParamValue('invoice_accessible_from_hash', '1');
|
||||
|
||||
// If hash_access is not 0 or if a client is logged in, get the logged-in client
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access == '0') {
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access === '0') {
|
||||
$this->redirectIfNotInvoiceBuyer($app, $invoice);
|
||||
}
|
||||
return $app->render('mod_invoice_print', ['invoice' => $invoice]);
|
||||
@@ -116,7 +116,7 @@ class Client implements \FOSSBilling\InjectionAwareInterface
|
||||
$hash_access = $systemService->getParamValue('invoice_accessible_from_hash', '1');
|
||||
|
||||
// If hash_access is not 0 or if a client is logged in, get the logged-in client
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access == '0') {
|
||||
if (!$this->di['auth']->isAdminLoggedIn() && $hash_access === '0') {
|
||||
$this->redirectIfNotInvoiceBuyer($app, $invoice);
|
||||
}
|
||||
return $app->render('mod_invoice_pdf', ['invoice' => $invoice]);
|
||||
|
||||
Reference in new issue
Block a user