From c6330b2766fec18784d6395b0bbafbe56a4c6197 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 18 Feb 2025 16:39:05 +0100 Subject: Cleanup round to make indentation style consistent across files --- it_dbi.class | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'it_dbi.class') diff --git a/it_dbi.class b/it_dbi.class index 14ae5fa..bd3e2e8 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -1100,7 +1100,8 @@ function _escape_name($str) return "`" . $str . "`"; } -function _connect_db($p) { +function _connect_db($p) +{ mysqli_report(MYSQLI_REPORT_OFF); # it_dbi does not want exceptions for syntax errors $result = @mysqli_connect($p['server'], $p['user'], $p['pw']); @@ -1125,7 +1126,8 @@ function _get_field_defs() return (array)$result; } -function _tables($p) { +function _tables($p) +{ for ($qr = $this->query('SHOW TABLES', $p); $row = mysqli_fetch_row($qr);) $result[] = $row[0]; -- cgit v1.2.3