From: Sandro Santilli Date: Wed, 23 Sep 2015 09:39:36 +0000 (+0200) Subject: Use ampersend to separate postopts, and explicit test for empty string X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e9f001aa5d45bb928af9332f1d24cb54bf9fdb86;p=friendica.git Use ampersend to separate postopts, and explicit test for empty string --- diff --git a/include/items.php b/include/items.php index 4c41ae115f..40409bb897 100644 --- a/include/items.php +++ b/include/items.php @@ -1127,7 +1127,7 @@ function item_add_language_opt(&$arr) { $lng = $l->detect($naked_body, 3); if (sizeof($lng) > 0) { - if ($postopts) $postopts .= '^'; // arbitrary separator, to be reviewed + if ($postopts != "") $postopts .= '&'; // arbitrary separator, to be reviewed $postopts .= 'lang='; $sep = ""; foreach ($lng as $language => $score) {