Skip to content

Commit

Permalink
Remove unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
xxswingxx committed Oct 8, 2018
1 parent c029cbc commit e70d7b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quaderno/quaderno",
"type": "library",
"description": "PHP wrapper for the Quaderno REST API",
"version": "1.6.3",
"version": "1.6.4",
"keywords": ["billing","receipts", "invoices", "stripe", "paypal", "braintree", "gocardless", "vat", "gst"],
"homepage": "https://github.com/quaderno/quaderno-php",
"license": "MIT",
Expand Down
2 changes: 0 additions & 2 deletions quaderno_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ public function save()
if ($new_data) $this->data = $new_data->data;
}

$new_data = (isset($this->data['items_attributes']) && !$new_object);

/**
* 3rd step - Update object
* Update object - This is only necessary when it's not a new object, or new payments have been created.
Expand Down

0 comments on commit e70d7b6

Please sign in to comment.