includes/sessions.php
changeset 985 4ecf46e5eeab
parent 953 323c4cd1aa37
child 1001 79770fb4132a
equal deleted inserted replaced
984:18f5a15b810c 985:4ecf46e5eeab
  1286     $user_extra = array();
  1286     $user_extra = array();
  1287     foreach ( array('user_aim', 'user_yahoo', 'user_msn', 'user_xmpp', 'user_homepage', 'user_location', 'user_job', 'user_hobbies', 'email_public', 'disable_js_fx') as $column )
  1287     foreach ( array('user_aim', 'user_yahoo', 'user_msn', 'user_xmpp', 'user_homepage', 'user_location', 'user_job', 'user_hobbies', 'email_public', 'disable_js_fx') as $column )
  1288     {
  1288     {
  1289       if ( isset($row[$column]) )
  1289       if ( isset($row[$column]) )
  1290         $user_extra[$column] = $row[$column];
  1290         $user_extra[$column] = $row[$column];
       
  1291       else
       
  1292         $user_extra[$column] = '';
  1291     }
  1293     }
  1292     
  1294     
  1293     $this->user_extra = $user_extra;
  1295     $this->user_extra = $user_extra;
  1294     // Leave the rest to PHP's automatic garbage collector ;-)
  1296     // Leave the rest to PHP's automatic garbage collector ;-)
  1295     
  1297