]> git.wh0rd.org Git - tt-rss.git/commitdiff
hide warning when checking for tt-rss tables if tables are not present
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 4 Jun 2013 14:25:37 +0000 (18:25 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 4 Jun 2013 14:25:37 +0000 (18:25 +0400)
install/index.php

index ec064c0a7055b48a9b17b41b0df4162246472cac..83f3d3821b4fb87096f58e5b3cdc970222a44f19 100644 (file)
                        <p>Before you can start using tt-rss, database needs to be initialized. Click on the button below to do that now.</p>
 
                        <?php
-                               $result = db_query($link, "SELECT true FROM ttrss_feeds", $DB_TYPE, false);
+                               $result = @db_query($link, "SELECT true FROM ttrss_feeds", $DB_TYPE, false);
 
                                if ($result) {
                                        print_error("Existing tt-rss tables will be removed from the database. If you would like to keep your data, skip database initialization.");