includes/sessions.php
changeset 375 8d0e3a5a6990
parent 372 5bd429428101
child 377 bb3e6c3bd4f4
--- a/includes/sessions.php	Thu Jan 24 22:10:00 2008 -0500
+++ b/includes/sessions.php	Thu Jan 24 22:14:40 2008 -0500
@@ -1276,7 +1276,8 @@
     $user_extra = array();
     foreach ( array('user_aim', 'user_yahoo', 'user_msn', 'user_xmpp', 'user_homepage', 'user_location', 'user_job', 'user_hobbies', 'email_public') as $column )
     {
-      $user_extra[$column] = $row[$column];
+      if ( isset($row[$column]) )
+        $user_extra[$column] = $row[$column];
     }
     
     $this->user_extra = $user_extra;