From: Evan Prodromou Date: Mon, 7 Jul 2008 06:07:33 +0000 (-0400) Subject: default for datetime in common_relative_profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fac74ecba1ccbd16e56c5d48e9f664d6afd09442;p=quix0rs-gnu-social.git default for datetime in common_relative_profile darcs-hash:20080707060733-84dde-d0cd0a70aa94b124019378840de1e893ead912d7.gz --- diff --git a/lib/util.php b/lib/util.php index 6130b275d8..6e3303324e 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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