lcase tname

darcs-hash:20080716031459-84dde-ccb707bb9059bbc95eabb48cf32edf6dfe803108.gz
This commit is contained in:
Evan Prodromou 2008-07-15 23:14:59 -04:00
parent af03429704
commit 542cadd33c

View File

@ -875,7 +875,7 @@ function common_save_replies($notice) {
return true;
}
# XXX: is there another way to make an array copy?
$names = ($tname) ? array_unique(array_merge($match[1], array($tname))) : $match[1];
$names = ($tname) ? array_unique(array_merge($match[1], array(strtolower($tname)))) : $match[1];
$sender = Profile::staticGet($notice->profile_id);
# store replied only for first @ (what user/notice what the reply directed,
# we assume first @ is it)