fix typos

This commit is contained in:
friendica 2013-03-11 18:22:40 -07:00
parent f09f2998dc
commit f988213af8
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ function bb_ShareAttributes($match) {
$headline .= "</div>"; $headline .= "</div>";
$text = $headline . '<div class="reshared-content">' . trim($match[2]) . '</div>'; $text = $headline . '<div class="reshared-content">' . trim($match[2]) . '</div>';
logger('bbshare: ' . $text);
return($text); return($text);
} }
@ -185,7 +185,7 @@ function bb_ShareAttributesSimple($match) {
if ($matches[1] != "") if ($matches[1] != "")
$profile = $matches[1]; $profile = $matches[1];
$text = "<br />".html_entity_decode("&#x2672; ", ENT_QUOTES, 'UTF-8').' <a href="'.$profile.'">'.$author."</a>: <br />»".$match[2]."«"; $text = "<br />".html_entity_decode("&#x2672; ", ENT_QUOTES, 'UTF-8').' <a href="'.$profile.'">'.$author."</a>: div class=\"reshared-content\">" .$match[2]."</div>";
return($text); return($text);
} }

View File

@ -570,7 +570,7 @@ function import_xchan($arr) {
if($xisting) { if($xisting) {
foreach($xisting as $x) { foreach($xisting as $x) {
if(! array_key_exists('updated',$x)) { if(! array_key_exists('updated',$x)) {
logger('import_xchan: removing unreferenced hub location ' . $x['hubloc_url'); logger('import_xchan: removing unreferenced hub location ' . $x['hubloc_url']);
$r = q("delete from hubloc where hubloc_id = %d limit 1", $r = q("delete from hubloc where hubloc_id = %d limit 1",
intval($x['hubloc_id']) intval($x['hubloc_id'])
); );