Skip to content

Commit

Permalink
Fixed publication date bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dhawalhshah committed Jun 25, 2011
1 parent 25c7f57 commit 4821cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordpressToTumblr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
Expand Down

0 comments on commit 4821cf6

Please sign in to comment.