Index: branches/5.2.x/units/orders/orders_event_handler.php =================================================================== --- branches/5.2.x/units/orders/orders_event_handler.php +++ branches/5.2.x/units/orders/orders_event_handler.php @@ -1578,9 +1578,10 @@ */ function CheckUser($event) { - if ($this->Application->isAdminUser || defined('GW_NOTIFY')) { - // don't check for user in order while processing payment - // gateways, because they can do cross-domain ssl redirects + if ( $this->Application->isAdminUser || defined('GW_NOTIFY') || defined('CRON') ) { + // 1. don't check, when Administrator is editing the order. + // 2. don't check while processing payment gateways, because they can do cross-domain ssl redirects. + // 3. don't check from CRON, because it's like Admin updates orders on other user behalf. return; }