From 175ddcaccd44d392f33ab30a41b652dc62428787 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Mon, 30 Jun 2008 09:41:07 +0000 Subject: [PATCH] * Fix Generic RSS import to not always assume WPXRSS feed. (garvinhicking) --- docs/NEWS | 3 +++ include/admin/importers/generic.inc.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/NEWS b/docs/NEWS index 0c119d73..6cba18a2 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.4 () ------------------------------------------------------------------------ + * Fix Generic RSS import to not always assume WPXRSS feed. + (garvinhicking) + * Fix bug in category sidebar plugin, which showed categories that should have been hidden when the option "Hide parents of selected sub-tree" was selected and Smarty templating was enabled. diff --git a/include/admin/importers/generic.inc.php b/include/admin/importers/generic.inc.php index 855b083d..f6264f72 100644 --- a/include/admin/importers/generic.inc.php +++ b/include/admin/importers/generic.inc.php @@ -316,7 +316,7 @@ class Serendipity_Import_Generic extends Serendipity_Import { function import() { global $serendipity; - if ($this->data['wpxrss']) { + if (serendipity_db_bool($this->data['wpxrss'])) { return $this->import_wpxrss(); }