more array munging
darcs-hash:20080716031346-84dde-2aa160254fd80537ba89df2b39b4560c044d1bab.gz
This commit is contained in:
parent
f3409f4e70
commit
af03429704
|
@ -875,10 +875,7 @@ function common_save_replies($notice) {
|
|||
return true;
|
||||
}
|
||||
# XXX: is there another way to make an array copy?
|
||||
$names = array_merge($match[1], array());
|
||||
if ($tname) {
|
||||
array_unshift($names, $tname);
|
||||
}
|
||||
$names = ($tname) ? array_unique(array_merge($match[1], array($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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user