forked from extern/egroupware
$tables is array not a function
index.php was not working, it was a strange error message
This commit is contained in:
parent
31fd7e256d
commit
ee0f6c8c93
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user