]> git.mjollnir.org Git - s9y.git/commitdiff
fix variable problems reported by Omig Mottaghi
authorgarvinhicking <garvinhicking>
Thu, 17 Nov 2005 12:22:01 +0000 (12:22 +0000)
committergarvinhicking <garvinhicking>
Thu, 17 Nov 2005 12:22:01 +0000 (12:22 +0000)
include/admin/importers/blogger.inc.php
include/admin/importers/movabletype.inc.php

index ac7de6d1afa06cc21b8f1ddca37ec4a6af9bdb1d..00dd16d724e153579daa8a1cf122e99bee3f1ad8 100644 (file)
@@ -206,7 +206,7 @@ http://jaa.technova.com.mv</p>';
                 # 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)) {
index e6df6ed57b8b77f2999467a792bf18725de9cd4e..712968bda7c3a608375314e45006c6fd5c9e08d1 100644 (file)
@@ -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();