default for datetime in common_relative_profile

darcs-hash:20080707060733-84dde-d0cd0a70aa94b124019378840de1e893ead912d7.gz
This commit is contained in:
Evan Prodromou 2008-07-07 02:07:33 -04:00
parent 4b0abe0ce7
commit fac74ecba1

View File

@ -587,7 +587,7 @@ function common_at_link($sender_id, $nickname) {
}
}
function common_relative_profile($sender, $nickname, $dt) {
function common_relative_profile($sender, $nickname, $dt=NULL) {
# Try to find profiles this profile is subscribed to that have this nickname
$recipient = new Profile();
# XXX: use a join instead of a subquery