r1599: Fixed bug://report/97. If a user had selected a language that had since been...
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 9 Aug 2007 19:03:25 +0000 (19:03 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 9 Aug 2007 19:03:25 +0000 (19:03 +0000)
commit8d89565caa3caedb2e37b0cad5e6468818e180b6
treed71bcb200e9441a9a8f1b2aea87c3301f5bc38d9
parentca860c754cf8dfa84d91a1cd1db6156825886e0b
r1599: Fixed bug://report/97. If a user had selected a language that had since been deleted, the email notification system would fail because the template paths it would try to load wouldn't exist becuase the langcode wouldn't be added.

* docs/changes.txt
* include/class_notification.php:
(NotificationCenter::_localeFromUserId): Instead of checking if the language ID exists for the user, get the langcode for the user's language and check if *that* exists
docs/changes.txt
includes/class_notification.php