Opps, fixed parser errors

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-14 17:03:59 +02:00
parent 03d23838f5
commit a8136898b4
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
2 changed files with 3 additions and 3 deletions

View file

@ -573,7 +573,7 @@ function GetProfileUsername($profile, $username, $compact = false, $getnetwork =
$gplus = preg_replace("=https?://plus.google.com/(.*)=ism", "$1@plus.google.com", $profile); $gplus = preg_replace("=https?://plus.google.com/(.*)=ism", "$1@plus.google.com", $profile);
if ($gplus != $profile) { if ($gplus != $profile) {
if ($getnetwork) { if ($getnetwork) {
return NETWORK_GPLUS); return NETWORK_GPLUS;
} elseif ($compact) { } elseif ($compact) {
return ($gplususername . " (" . $username . ")"); return ($gplususername . " (" . $username . ")");
} else { } else {

View file

@ -1169,7 +1169,7 @@ function item_body_set_hashtags(&$item) {
"&num;$2", $item["body"]); "&num;$2", $item["body"]);
foreach ($tags as $tag) { foreach ($tags as $tag) {
if ((strpos($tag, '#') !== 0) || (strpos($tag, '[url=')) { if ((strpos($tag, '#') !== 0) || (strpos($tag, '[url='))) {
continue; continue;
} }
@ -2198,7 +2198,7 @@ function drop_item($id, $interactive = true) {
foreach ($r as $row) { foreach ($r as $row) {
if ($parentid != "") { if ($parentid != "") {
$parentid .= ", "; $parentid .= ", ";
] }
$parentid .= $row["id"]; $parentid .= $row["id"];
} }