yet more array munging

darcs-hash:20080716031544-84dde-a04b4057e5d7aa394ae061daac47f38089ff5343.gz
This commit is contained in:
Evan Prodromou 2008-07-15 23:15:44 -04:00
parent 542cadd33c
commit c0527f7952
1 changed files with 1 additions and 1 deletions

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(strtolower($tname)))) : $match[1];
$names = ($tname) ? array_unique(array(strtolower($tname)), array_merge($match[1])) : $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)