]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
default for datetime in common_relative_profile
authorEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:07:33 +0000 (02:07 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 06:07:33 +0000 (02:07 -0400)
darcs-hash:20080707060733-84dde-d0cd0a70aa94b124019378840de1e893ead912d7.gz

lib/util.php

index 6130b275d8616894555166003a4a3ea24b530037..6e3303324e25e126350c097945d72ee0b3dea957 100644 (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