Closed adel-s closed 7 years ago
How to reproduce: -- Push 'CSV' or 'JSON' button below 'Export Data' -- Got set of errors:
Warning: mysqli_query() expects at least 2 parameters, 1 given
Fatal error: Call to undefined function mysqli_field_name()
<!-- Begin creds.php -->
<!-- End creds.php -->
Why does it happend
mysqli_fetch_field
I fixed it, please review my pull request. For me everything is working as it should for now.
Pull request to fix this: https://github.com/surfrock66/torque/pull/17
How to reproduce: -- Push 'CSV' or 'JSON' button below 'Export Data' -- Got set of errors:
Warning: mysqli_query() expects at least 2 parameters, 1 given
Fatal error: Call to undefined function mysqli_field_name()
(after fix error 1)<!-- Begin creds.php -->
and<!-- End creds.php -->
at the beginning of exported files (after fix error 2)Why does it happend
mysqli_fetch_field
(see pull request)I fixed it, please review my pull request. For me everything is working as it should for now.