]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Database/View.php
authorMichael Vogel <icarus@dabo.de>
Sun, 29 Nov 2020 20:59:24 +0000 (21:59 +0100)
committerGitHub <noreply@github.com>
Sun, 29 Nov 2020 20:59:24 +0000 (21:59 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Database/View.php

index bfdcdff7caf7c78a25a74bc72b76e985da859b0b..51d051786dc89b1e4de0ea89b53cb887d033e388 100644 (file)
@@ -168,10 +168,10 @@ class View
                $status = DBA::selectFirst(['INFORMATION_SCHEMA' => 'TABLES'], ['TABLE_TYPE'],
                        ['TABLE_SCHEMA' => DBA::databaseName(), 'TABLE_NAME' => $table]);
 
-                       if (empty($status['TABLE_TYPE'])) {
-                               return false;
-                       }
+               if (empty($status['TABLE_TYPE'])) {
+                       return false;
+               }
 
-                       return $status['TABLE_TYPE'] == 'BASE TABLE';
+               return $status['TABLE_TYPE'] == 'BASE TABLE';
        }
 }