From 439b885c1d96b32c4176cb6ee20e407747c2a45d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 Jan 2017 09:06:10 +0200 Subject: [PATCH] Minor fixes --- app/Models/Invoice.php | 2 +- app/Ninja/Mailers/Mailer.php | 1 + docs/conf.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Models/Invoice.php b/app/Models/Invoice.php index 6103eb86e67b..e6276de59dc9 100644 --- a/app/Models/Invoice.php +++ b/app/Models/Invoice.php @@ -1208,7 +1208,7 @@ class Invoice extends EntityModel implements BalanceAffecting } $pdfString = strip_tags($pdfString); - } catch (Exception $exception) { + } catch (\Exception $exception) { Utils::logError("PhantomJS - Failed to create pdf: {$exception->getMessage()}"); return false; } diff --git a/app/Ninja/Mailers/Mailer.php b/app/Ninja/Mailers/Mailer.php index 5451653473de..954afc5d6d3c 100644 --- a/app/Ninja/Mailers/Mailer.php +++ b/app/Ninja/Mailers/Mailer.php @@ -41,6 +41,7 @@ class Mailer $toEmail = strtolower($toEmail); $replyEmail = $fromEmail; $fromEmail = CONTACT_EMAIL; + //\Log::info("{$toEmail} | {$replyEmail} | $fromEmail"); // Optionally send for alternate domain if (!empty($data['fromEmail'])) { diff --git a/docs/conf.py b/docs/conf.py index 10e13747ab87..45f9337b794d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,9 +57,9 @@ author = u'Invoice Ninja' # built documents. # # The short X.Y version. -version = u'2.8' +version = u'3.0' # The full version, including alpha/beta/rc tags. -release = u'2.8.2' +release = u'3.0.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.