summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-07 02:07:33 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-07 02:07:33 -0400
commitfac74ecba1ccbd16e56c5d48e9f664d6afd09442 (patch)
treeb140d7b443a59aecd33c72cbc842d43150db2f26 /lib
parent4b0abe0ce7fd8c9e2cc8ddf52f76cd4c93a5f279 (diff)
default for datetime in common_relative_profile
darcs-hash:20080707060733-84dde-d0cd0a70aa94b124019378840de1e893ead912d7.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 6130b275d..6e3303324 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