From b51b15db0060608ac3fcf58b93ccc048f85bf8a8 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Sun, 31 May 2015 15:10:59 +0200 Subject: [PATCH] fix indentation --- lib/db_mysqli.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/db_mysqli.inc.php b/lib/db_mysqli.inc.php index e128d2f..5e5b157 100644 --- a/lib/db_mysqli.inc.php +++ b/lib/db_mysqli.inc.php @@ -82,10 +82,10 @@ class DBMysqli extends DBImpl { } if ($result = $this->con->query($query)) { - while ($row = $result->fetch_object()) { - $all[] = $row->id; + while ($row = $result->fetch_object()) { + $all[] = $row->id; } - } + } return $all; } @@ -139,9 +139,9 @@ class DBMysqli extends DBImpl { $this->changeCharset(); $query = "SELECT * FROM quarantine WHERE mail_id = '$id'"; - if ($result = $this->con->query($query, MYSQLI_USE_RESULT)) { - $row = $result->fetch_object(); - } + if ($result = $this->con->query($query, MYSQLI_USE_RESULT)) { + $row = $result->fetch_object(); + } return $row; } -- 2.39.5