mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
Workaround for bill quota/cdr bigint (#9053)
Real fix is to install mysqlnd DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
This commit is contained in:
parent
73b8dae345
commit
2720ca5f1f
@ -76,12 +76,13 @@ if ($_POST['action'] == 'update_bill') {
|
||||
}
|
||||
}//end if
|
||||
|
||||
// NOTE: casting to string for mysqli bug (fixed by mysqlnd)
|
||||
if (dbUpdate(
|
||||
array(
|
||||
'bill_name' => $_POST['bill_name'],
|
||||
'bill_day' => $_POST['bill_day'],
|
||||
'bill_quota' => $bill_quota,
|
||||
'bill_cdr' => $bill_cdr,
|
||||
'bill_quota' => (string)$bill_quota,
|
||||
'bill_cdr' => (string)$bill_cdr,
|
||||
'bill_type' => $_POST['bill_type'],
|
||||
'bill_custid' => $_POST['bill_custid'],
|
||||
'bill_ref' => $_POST['bill_ref'],
|
||||
|
Loading…
Reference in New Issue
Block a user