summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocs/CHANGELOG1
-rw-r--r--lib/class/ampachemail.class.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/CHANGELOG b/docs/CHANGELOG
index f42beba6..ad81a0e7 100755
--- a/docs/CHANGELOG
+++ b/docs/CHANGELOG
@@ -4,6 +4,7 @@
--------------------------------------------------------------------------
v.3.4-Beta2
+ - Fixed typo that caused mail to always mail to everyone.
- Fixed an issue with user auth in XML API always registering as
system (Thx purdyk)
- Fixed issue with Update All and multiple catalogs not correctly
diff --git a/lib/class/ampachemail.class.php b/lib/class/ampachemail.class.php
index 2a84fdcc..2747876b 100644
--- a/lib/class/ampachemail.class.php
+++ b/lib/class/ampachemail.class.php
@@ -44,7 +44,7 @@ class AmpacheMail {
*/
public static function get_users($filter) {
- switch ($fileter) {
+ switch ($filter) {
default:
case 'all':
$sql = "SELECT * FROM `user` WHERE `email` IS NOT NULL";