|
@@ -351,8 +351,8 @@ class WordPressImport {
|
|
|
|
|
|
|
|
// Insert post
|
|
// Insert post
|
|
|
$this->targetDb->query(
|
|
$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'],
|
|
$wpPost['post_title'],
|
|
|
$slug,
|
|
$slug,
|