From 3beb0939cb4bf4b019c528ec3d345fa41b06c3f2 Mon Sep 17 00:00:00 2001 From: garvinhicking 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 a011eb9..5e87c28 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); } -- 2.39.5