svalavuo 4 dní pred
rodič
commit
4877156444
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      includes/wordpress_import.php

+ 3 - 2
includes/wordpress_import.php

@@ -478,7 +478,7 @@ class WordPressImport {
                     // Insert comment
                     $this->targetDb->query(
                         "INSERT INTO comments (publication_id, parent_id, name, email, content, status, created_at, admin_reply) 
-                         VALUES (?, ?, ?, ?, ?, ?, ?, FALSE)",
+                         VALUES (?, ?, ?, ?, ?, ?, ?, ?)",
                         [
                             $publicationId,
                             $parentId,
@@ -486,7 +486,8 @@ class WordPressImport {
                             $wpComment['comment_author_email'],
                             $wpComment['comment_content'],
                             $status,
-                            $wpComment['comment_date']
+                            $wpComment['comment_date'],
+                            false
                         ]
                     );