diff --git a/app/models/Activity.php b/app/models/Activity.php index 9fe82178c612..625e98ed36b9 100755 --- a/app/models/Activity.php +++ b/app/models/Activity.php @@ -188,10 +188,10 @@ class Activity extends Eloquent } } - if ($diff > 0 || $fieldChanged) { + if ($diff != 0 || $fieldChanged) { $backupInvoice = Invoice::with('invoice_items', 'client.account', 'client.contacts')->find($invoice->id); - if ($diff > 0 && !$invoice->is_quote && !$invoice->is_recurring) { + if ($diff != 0 && !$invoice->is_quote && !$invoice->is_recurring) { $client->balance = $client->balance + $diff; $client->save(); }