From: Michael Vogel Date: Sun, 29 Nov 2020 20:59:24 +0000 (+0100) Subject: Update src/Database/View.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb48a3606142ada0781239b3aecf23a40e4b62e6;p=friendica.git Update src/Database/View.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Database/View.php b/src/Database/View.php index bfdcdff7ca..51d051786d 100644 --- a/src/Database/View.php +++ b/src/Database/View.php @@ -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'; } }