$tables is array not a function

index.php was not working, it was a strange error message
This commit is contained in:
Lars Kneschke 2000-12-02 13:20:39 +00:00
parent 31fd7e256d
commit ee0f6c8c93

View File

@ -38,7 +38,7 @@
$db->Halt_On_Error = "no";
$tables = $db->table_names();
if (is_array($tables) && count($tables()) > 0){
if (is_array($tables) && count($tables) > 0){
/* tables exists. checking for post beta version */
$db->query("select app_version from applications where app_name='admin'");
$db->next_record();