Index: trunk/core/units/phrases/phrases_event_handler.php =================================================================== diff -u -r2772 -r2853 --- trunk/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 2772) +++ trunk/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 2853) @@ -67,7 +67,8 @@ $object->SetDBField('LastChangeIP', $ip_address); } - setcookie('last_module', $object->GetDBField('Module'), '', SERVER_NAME); + $cookie_path = $this->Application->IsAdmin() ? BASE_PATH.'/admin' : BASE_PATH; + setcookie('last_module', $object->GetDBField('Module'), $cookie_path, '.'.SERVER_NAME); } }