diff --git a/admin/pages/accounts.php b/admin/pages/accounts.php index 550ea670..0c58d94e 100644 --- a/admin/pages/accounts.php +++ b/admin/pages/accounts.php @@ -272,7 +272,7 @@ else if (isset($_REQUEST['search'])) { hasTable('store_history')) : ?> + if ($db->hasTable('store_history') && $db->hasColumn('store_history', 'time')) : ?>