Index: trunk/core/units/phrases/phrases_event_handler.php =================================================================== diff -u -N -r7391 -r8710 --- trunk/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 7391) +++ trunk/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 8710) @@ -85,8 +85,7 @@ $object->SetDBField('LastChangeIP', $ip_address); } - $cookie_path = $this->Application->IsAdmin() ? BASE_PATH.'/admin' : BASE_PATH; - setcookie('last_module', $object->GetDBField('Module'), $cookie_path, '.'.SERVER_NAME); + $this->Application->Session->SetCookie('last_module', $object->GetDBField('Module')); } }