Minor fixes

This commit is contained in:
Hillel Coren 2017-01-29 09:06:10 +02:00
parent d52a7c8953
commit 439b885c1d
3 changed files with 4 additions and 3 deletions

View File

@ -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;
}

View File

@ -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'])) {

View File

@ -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.