]> git.mxchange.org Git - friendica.git/commitdiff
typo
authorfriendica <info@friendica.com>
Thu, 1 Dec 2011 01:08:16 +0000 (17:08 -0800)
committerfriendica <info@friendica.com>
Thu, 1 Dec 2011 01:08:16 +0000 (17:08 -0800)
boot.php
include/diaspora.php
mod/message.php
mod/ping.php

index 2d937f2c44309910bd470b8ae9622ea20648ec24..50cfbf66168755f96742ee5a2e2e29aea4a665fe 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
 require_once('include/cache.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '2.3.1180' );
+define ( 'FRIENDICA_VERSION',      '2.3.1181' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    );
 define ( 'DB_UPDATE_VERSION',      1107      );
 
index 8e4f919c5f7e41702484a754176bb4ffe8344b67..9cef21ceb3408789b255c5616f4d12aa1fcd39fc 100644 (file)
@@ -41,6 +41,9 @@ function diaspora_dispatch($importer,$msg) {
 
        $xmlbase = $parsed_xml->post;
 
+       logger('diaspora_dispatch: ' . print_r($xmlbase,true), LOGGER_DEBUG);
+
+
        if($xmlbase->request) {
                $ret = diaspora_request($importer,$xmlbase->request);
        }
index d48db8807a76968d20365fb8adf6707416527289..60e6b38fceb723456e71856ef51f62cf1bb05b93 100644 (file)
@@ -187,7 +187,7 @@ function message_content(&$a) {
                        $o .= replace_macros($tpl, array(
                                '$id' => $rr['id'],
                                '$from_name' =>$rr['from-name'],
-                               '$from_url' => (($rr['network'] === NETWORK_DFRN) ? $a->get_baseurl() . '/redir/' . $rr['contact-id'] : $rr['url'],
+                               '$from_url' => (($rr['network'] === NETWORK_DFRN) ? $a->get_baseurl() . '/redir/' . $rr['contact-id'] : $rr['url']),
                                '$sparkle' => ' sparkle',
                                '$from_photo' => $rr['thumb'],
                                '$subject' => template_escape((($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>')),
index 9f6ae1974bf250aea08d8e73a1633e7209238745..df07cb768e672dcdea8cf40e56a489c8cfb8a7af 100644 (file)
@@ -18,12 +18,14 @@ function ping_init(&$a) {
                $friends = array();
                $posts = array();
                
+
                $r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`author-name`, 
                                `item`.`author-link`, `item`.`author-avatar`, `item`.`created`, `item`.`object`, 
                                `pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink` 
                                FROM `item` INNER JOIN `item` as `pitem` ON  `pitem`.`id`=`item`.`parent`
                                WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND
-                                `item`.`deleted` = 0 AND `item`.`uid` = %d AND `item`.`wall` = 0 ORDER BY `item`.`created` DESC",
+                                `item`.`deleted` = 0 AND `item`.`uid` = %d AND `item`.`wall` = 0 
+                               ORDER BY `item`.`created` DESC",
                        intval(local_user())
                );