diff --git a/modules/billing/sql/normalize_billing_order_status.sql b/modules/billing/sql/normalize_billing_order_status.sql index 4634b2f5..bda6d6cf 100644 --- a/modules/billing/sql/normalize_billing_order_status.sql +++ b/modules/billing/sql/normalize_billing_order_status.sql @@ -23,7 +23,7 @@ WHERE `status` = 'installed'; -- Map old 'paid' to 'Active' -- (Orders that were paid but not yet provisioned should be provisioned --- via home.php?m=billing&p=provision_servers after this migration.) +-- via the admin orders panel after this migration.) UPDATE `gsp_billing_orders` SET `status` = 'Active' WHERE `status` = 'paid'; diff --git a/modules/user_games/check_expire.php b/modules/user_games/check_expire.php index 9df6fba0..4e32ab38 100644 --- a/modules/user_games/check_expire.php +++ b/modules/user_games/check_expire.php @@ -39,7 +39,7 @@ function exec_ogp_module() } } - $expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";" ); + $expired_users = $db->resultQuery("SELECT user_id, home_id, user_expiration_date FROM OGP_DB_PREFIXuser_homes WHERE user_expiration_date NOT LIKE 'X' AND user_expiration_date < " . $today_midnight . ";"); if($expired_users) { foreach ((array)$expired_users as $expired_user)