summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-08-01 08:26:35 +0300
committerAndrew Dolgov <[email protected]>2016-08-01 08:26:35 +0300
commite97e2ec9f3ca5468490ca333c08f33b232ffbbb2 (patch)
treee734be80f633e89d32e50a019448f6b3d004d31f
parentd419aed5434cd425a0b9be3f65cd6c8c6f930d1a (diff)
parent9e38b6ca790cc1e23907d29c128cc003eb7703e6 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
-rw-r--r--[-rwxr-xr-x]include/rssfuncs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index c01e703d1..21ffcbb76 100755..100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -778,7 +778,7 @@
foreach ($article as $k => $v) {
// i guess we'll have to take the risk of 4byte unicode labels & tags here
- if (!is_array($article[$k])) {
+ if (is_string($article[$k])) {
$article[$k] = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $v);
}
}