]> git.mxchange.org Git - friendica.git/commitdiff
Opps, fixed parser errors
authorRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 15:03:59 +0000 (17:03 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 14 Apr 2017 15:04:09 +0000 (17:04 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
include/bbcode.php
include/items.php

index 1075d84ac82738468202b182cd8e0b9b660eb3fc..2a70f95e59ee4fe159d3119b25558d92c8350507 100644 (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);
        if ($gplus != $profile) {
                if ($getnetwork) {
-                       return NETWORK_GPLUS);
+                       return NETWORK_GPLUS;
                } elseif ($compact) {
                        return ($gplususername . " (" . $username . ")");
                } else {
index aed25f11ef5f561010f7f9e68a3c25f924121258..0f5afe5ee7703338c973e2f62573f25afe951876 100644 (file)
@@ -1169,7 +1169,7 @@ function item_body_set_hashtags(&$item) {
                        "&num;$2", $item["body"]);
 
        foreach ($tags as $tag) {
-               if ((strpos($tag, '#') !== 0) || (strpos($tag, '[url=')) {
+               if ((strpos($tag, '#') !== 0) || (strpos($tag, '[url='))) {
                        continue;
                }
 
@@ -2198,7 +2198,7 @@ function drop_item($id, $interactive = true) {
                foreach ($r as $row) {
                        if ($parentid != "") {
                                $parentid .= ", ";
-                       ]
+                       }
 
                        $parentid .= $row["id"];
                }