فهرست منبع

Fixing WP import

svalavuo 4 روز پیش
والد
کامیت
8104a41148
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      includes/wordpress_import.php

+ 2 - 2
includes/wordpress_import.php

@@ -351,8 +351,8 @@ class WordPressImport {
                     
                     // Insert post
                     $this->targetDb->query(
-                        "INSERT INTO publications (title, slug, content, summary, author, status, created_at, updated_at, published_at,wp_post_id) 
-                         VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)",
+                        "INSERT INTO publications (title, slug, content, summary, author, status, created_at, updated_at, published_at, wp_post_id) 
+                         VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
                         [
                             $wpPost['post_title'],
                             $slug,