Fix typo in XF2xExporter
authorTim Düsterhus <tim@bastelstu.be>
Sun, 12 Jan 2020 16:55:16 +0000 (17:55 +0100)
committerTim Düsterhus <tim@bastelstu.be>
Sun, 12 Jan 2020 16:55:16 +0000 (17:55 +0100)
files/lib/system/exporter/XF2xExporter.class.php

index b4c150386363711bdcdfb91ee01cf71a349fb26c..2bc083f039c2ffc200dfd5a7b8b60ed0be478e54 100644 (file)
@@ -1794,7 +1794,7 @@ class XF2xExporter extends AbstractExporter {
         * @return      mixed
         */
        private static function decodeJsonOrSerialized($jsonOrSerialized) {
-               if (strpos($jsonOrSerialized, '{') === 0 || strpos($jsonOrSerialized, '{') === 0) {
+               if (strpos($jsonOrSerialized, '{') === 0 || strpos($jsonOrSerialized, '[') === 0) {
                        return JSON::decode($jsonOrSerialized);
                }
                else {