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

View File

@ -875,7 +875,7 @@ function common_save_replies($notice) {
return true; return true;
} }
# XXX: is there another way to make an array copy? # 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); $sender = Profile::staticGet($notice->profile_id);
# store replied only for first @ (what user/notice what the reply directed, # store replied only for first @ (what user/notice what the reply directed,
# we assume first @ is it) # we assume first @ is it)