Index: customerror.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/customerror/customerror.module,v retrieving revision 1.14 diff -u -r1.14 customerror.module --- customerror.module 31 Jan 2007 18:33:40 -0000 1.14 +++ customerror.module 20 Mar 2007 21:11:04 -0000 @@ -122,6 +119,7 @@ switch($error_code) { case 403: + $_SESSION['destination'] = $_REQUEST['destination']; case 404: drupal_set_title(variable_get('customerror_'. $error_code .'_title', _customerror_fetch_error($error_code))); $output = theme('customerror', $error_code, variable_get('customerror_' . $error_code, _customerror_fetch_error($error_code)));