]> git.datanom.net - qtadmin.git/blobdiff - lib/db_mysqli.inc.php
fix indentation
[qtadmin.git] / lib / db_mysqli.inc.php
index e128d2f707daec92a2f6d9388d69e34c310df12b..5e5b157fdea92b7573c7d949aa3f3638718b605b 100644 (file)
@@ -82,10 +82,10 @@ class DBMysqli extends DBImpl {
         }
 
         if ($result = $this->con->query($query)) {
         }
 
         if ($result = $this->con->query($query)) {
-            while ($row = $result->fetch_object()) {
-               $all[] = $row->id;
+                       while ($row = $result->fetch_object()) {
+                               $all[] = $row->id;
                        }
                        }
-        }
+               }
 
                return $all;
        }
 
                return $all;
        }
@@ -139,9 +139,9 @@ class DBMysqli extends DBImpl {
 
                $this->changeCharset();
                $query = "SELECT * FROM quarantine WHERE mail_id = '$id'";
 
                $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;
        }
 
                return $row;
        }
This page took 0.17916 seconds and 5 git commands to generate.