X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=statusnet%2Fstatusnet.php;h=b16dedf846144dcbd350b8dbe623cb1fb4ac35b6;hb=49e383e78adc9174950f80900f4686455561c7c3;hp=2c9795403f9c638a211e136de64c78fe025fb008;hpb=8e799b0216700b2501f28f92ebc07b0b3bfd77af;p=friendica-addons.git diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index 2c979540..b16dedf8 100755 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -391,7 +391,7 @@ function statusnet_settings(&$a,&$s) { $s .= '
'; } } - $s .= '
'; + $s .= '
'; } @@ -548,7 +548,7 @@ function statusnet_shortenmsg($b, $max_char) { $msglink = $b["plink"]; // If the message is short enough then don't modify it. (if the link exists in the original message) - if ((strlen(trim($origmsg)) <= $max_char) AND (strpos($origmsg, $msglink) OR ($msglink == ""))) + if ((strlen(trim($origmsg)) <= $max_char) AND (($msglink == "") OR strpos($origmsg, $msglink))) return(array("msg"=>trim($origmsg), "image"=>"")); // If the message is short enough and contains a picture then post the picture as well