Skip to content

Commit

Permalink
An attempt to bypass the error
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Feb 1, 2024
1 parent 08e7cf0 commit f7971a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/init.php
Expand Up @@ -135,7 +135,7 @@
require_once SYSTEM . 'database.php';

// verify myaac tables exists in database
if(!$db->hasTable('myaac_account_actions')) {
if(!defined('MYAAC_INSTALL') && !$db->hasTable('myaac_account_actions')) {
throw new RuntimeException('Seems that the table myaac_account_actions of MyAAC doesn\'t exist in the database. This is a fatal error. You can try to reinstall MyAAC by visiting ' . BASE_URL . 'install');
}

Expand Down

0 comments on commit f7971a2

Please sign in to comment.