FREEPBX-6914 - don't call notification before we create an notification object
FREEPBX-6914 and create notification object outside of the if statement
FREEPBX-6914 - And fix typo
Part fix for #6923 language not being set.
Bump version
Merge branch 'release/2.11' into release/12.0.
This merge is unhappy.

Conflicts:
	functions.inc.php
	module.xml