From 5d6d49cab33163586162374342c66a9f31e3f5f6 Mon Sep 17 00:00:00 2001
From: Garvin Hicking <mail@garv.in>
Date: Thu, 6 Dec 2007 10:24:48 +0000
Subject: [PATCH] proper lifetype status

---
 include/admin/importers/lifetype.inc.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/admin/importers/lifetype.inc.php b/include/admin/importers/lifetype.inc.php
index a011eb99..5e87c281 100644
--- a/include/admin/importers/lifetype.inc.php
+++ b/include/admin/importers/lifetype.inc.php
@@ -245,13 +245,13 @@ class Serendipity_Import_lifetype extends Serendipity_Import {
                                      'url'       => $url,
                                      'title'     => $a['title'],
                                      'ip'        => $a['comment_author_IP'],
-                                     'status'    => ($a['comment_status'] == '1' ? 'pending' : 'approved'),
+                                     'status'    => ($a['comment_status'] == '2' ? 'pending' : 'approved'),
                                      'body'      => $a['comment_content'],
                                      'subscribed'=> 'false',
                                      'type'      => 'NORMAL');
 
                     serendipity_db_insert('comments', $this->strtrRecursive($comment));
-                    if ($a['comment_status'] != '1') {
+                    if ($a['comment_status'] != '2') {
                         $cid = serendipity_db_insert_id('comments', 'id');
                         serendipity_approveComment($cid, $entry['entryid'], true);
                     }