Merge pull request #980 in FS/freeswitch from ~MICHAEL_MAVROUDIS.COM/freeswitch:master to master

* commit '9df7bfe0f312798f89cd6c833e76fe05a293e4b0':
  column update with negative nibble rate -- FS-9577
  column update with negative nibble rate
This commit is contained in:
Brian West 2016-09-27 17:07:10 -05:00
commit 4a5e4714ce
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ static switch_bool_t bill_event(double billamount, const char *billaccount, swit
sql = globals.custom_sql_save;
}
} else {
sql = dsql = switch_mprintf("UPDATE %s SET %s=%s-%f WHERE %s='%s'", globals.db_table, globals.db_column_cash,
sql = dsql = switch_mprintf("UPDATE %s SET %s=%s- %f WHERE %s='%s'", globals.db_table, globals.db_column_cash,
globals.db_column_cash, billamount, globals.db_column_account, billaccount);
}