Skip to content
Browse files

Fixed publication date bug

  • Loading branch information...
1 parent 25c7f57 commit 4821cf6b8c93f77adf1706c49861fcecb0fb97f4 @dhawalhshah dhawalhshah committed Jun 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 wordpressToTumblr.php
View
2 wordpressToTumblr.php
@@ -88,7 +88,7 @@ public function postRegular($title, $body, $additionalParams = array()) {
return false;
}
- $params = array_intersect($this->postParameters, $additionalParams);
+ $params = array_intersect_key($additionalParams, $this->postParameters);
$params = array_merge(
$params, array('title' => $title, 'body' => $body, 'type' => 'regular')
);

0 comments on commit 4821cf6

Please sign in to comment.
Something went wrong with that request. Please try again.