From: garvinhicking Date: Thu, 17 Nov 2005 12:22:01 +0000 (+0000) Subject: fix variable problems reported by Omig Mottaghi X-Git-Tag: 0.9.1~26 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=45033c14bf4b2fdf71e8f82ed9eb4835adf96edb;p=s9y.git fix variable problems reported by Omig Mottaghi --- diff --git a/include/admin/importers/blogger.inc.php b/include/admin/importers/blogger.inc.php index ac7de6d..00dd16d 100644 --- a/include/admin/importers/blogger.inc.php +++ b/include/admin/importers/blogger.inc.php @@ -206,7 +206,7 @@ http://jaa.technova.com.mv

'; # locate the author and author url $curl = ''; $cauthor = ''; - $cdata = time(); + $cdate = time(); $cbody = ''; if (preg_match("/AUTHOR:(.*)/", $comment, $cauthor) && preg_match("/href=\"(.*)\"/", $cauthor[1], $curl)) { diff --git a/include/admin/importers/movabletype.inc.php b/include/admin/importers/movabletype.inc.php index e6df6ed..712968b 100644 --- a/include/admin/importers/movabletype.inc.php +++ b/include/admin/importers/movabletype.inc.php @@ -92,6 +92,8 @@ class Serendipity_Import_MovableType extends Serendipity_Import { } function doEntryWork(&$mt_entry, &$tasks){ + global $serendipity; + $entry = array(); $entry['categories'] = array(); $entryprops = array();