]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
put birthday reminders on default network page, add smileys to private mail
[friendica.git] / mod / profile.php
index 5479f28068f9971ec65548327d1118c44cc883da..bcd2b64e36c5b1b44c6920caf82795fc1f83bbc4 100644 (file)
@@ -228,6 +228,10 @@ function profile_content(&$a, $update = 0) {
 
        );
 
+
+       if($is_owner && ! $update)
+               $o .= get_birthdays();
+
        $cmnt_tpl = load_view_file('view/comment_item.tpl');
 
        $like_tpl = load_view_file('view/like.tpl');
@@ -245,7 +249,7 @@ function profile_content(&$a, $update = 0) {
        $alike = array();
        $dlike = array();
 
-       if(count($r)) {
+       if($r !== false && count($r)) {
 
                foreach($r as $item) {
                        like_puller($a,$item,$alike,'like');