Skip to content

Commit

Permalink
fixed an issue in the objects that was leading to mapping errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Crawford committed May 29, 2014
1 parent 064577e commit d5b6a89
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/cron/objects/facebookNewsFeedObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function buildMainAccountName($account){
$this->activityObject->setMainAccountName($account['name']);
}
public function buildMainAccountID($account){
$this->activityObject->setMainAccountID($account['user']);
$this->activityObject->setMainAccountID((string)$account['user']);
}
public function buildMainAccountColor($account){
$this->activityObject->setMainAccountColor($account['color']);
Expand Down
2 changes: 1 addition & 1 deletion src/cron/objects/googleFeedObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function buildMainAccountName($account){
$this->activityObject->setMainAccountName($account['name']);
}
public function buildMainAccountID($account){
$this->activityObject->setMainAccountID($account['user']);
$this->activityObject->setMainAccountID((string)$account['user']);
}
public function buildMainAccountColor($account){
$this->activityObject->setMainAccountColor($account['color']);
Expand Down
2 changes: 1 addition & 1 deletion src/cron/objects/instagramObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ public function buildMainAccountName($account){
$this->activityObject->setMainAccountName($account['name']);
}
public function buildMainAccountID($account){
$this->activityObject->setMainAccountID($account['user']);
$this->activityObject->setMainAccountID((string)$account['user']);
}
public function buildMainAccountColor($account){
$this->activityObject->setMainAccountColor($account['color']);
Expand Down
4 changes: 2 additions & 2 deletions src/cron/objects/linkedInNetworkObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ class LinkedInContentSHAR{
public $authorID = "N/A";
public $authorHeadline = "N/A";
public $id = "N/A";
public $postTime = "N/A";
public $postTime = 0;
public $comments = array();
public $likes = array();
public $queryString = "N/A";
Expand Down Expand Up @@ -1716,7 +1716,7 @@ public function buildMainAccountName($account){
$this->activityObject->setMainAccountName($account['name']);
}
public function buildMainAccountID($account){
$this->activityObject->setMainAccountID($account['user']);
$this->activityObject->setMainAccountID((string)$account['user']);
}
public function buildMainAccountColor($account){
$this->activityObject->setMainAccountColor($account['color']);
Expand Down
2 changes: 1 addition & 1 deletion src/cron/objects/twitterObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function buildMainAccountName($account){
$this->activityObject->setMainAccountName($account['name']);
}
public function buildMainAccountID($account){
$this->activityObject->setMainAccountID($account['user']);
$this->activityObject->setMainAccountID((string)$account['user']);
}
public function buildMainAccountColor($account){
$this->activityObject->setMainAccountColor($account['color']);
Expand Down

0 comments on commit d5b6a89

Please sign in to comment.