? modules/syndication
Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.234
diff -u -p -r1.234 bootstrap.inc
--- includes/bootstrap.inc	12 Oct 2008 06:27:03 -0000	1.234
+++ includes/bootstrap.inc	12 Oct 2008 08:32:47 -0000
@@ -1236,7 +1236,8 @@ function ip_address($reset = FALSE) {
         if (!empty($reverse_proxy_addresses) && in_array($ip_address, $reverse_proxy_addresses, TRUE)) {
           // If there are several arguments, we need to check the most
           // recently added one, i.e. the last one.
-          $ip_address = array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']));
+          $ip_address_parts = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
+          $ip_address = array_pop($ip_address_parts);
         }
       }
 
