changeset 375 | 8d0e3a5a6990 |
parent 372 | 5bd429428101 |
child 377 | bb3e6c3bd4f4 |
374:5c740e430a05 | 375:8d0e3a5a6990 |
---|---|
1274 } |
1274 } |
1275 |
1275 |
1276 $user_extra = array(); |
1276 $user_extra = array(); |
1277 foreach ( array('user_aim', 'user_yahoo', 'user_msn', 'user_xmpp', 'user_homepage', 'user_location', 'user_job', 'user_hobbies', 'email_public') as $column ) |
1277 foreach ( array('user_aim', 'user_yahoo', 'user_msn', 'user_xmpp', 'user_homepage', 'user_location', 'user_job', 'user_hobbies', 'email_public') as $column ) |
1278 { |
1278 { |
1279 $user_extra[$column] = $row[$column]; |
1279 if ( isset($row[$column]) ) |
1280 $user_extra[$column] = $row[$column]; |
|
1280 } |
1281 } |
1281 |
1282 |
1282 $this->user_extra = $user_extra; |
1283 $this->user_extra = $user_extra; |
1283 // Leave the rest to PHP's automatic garbage collector ;-) |
1284 // Leave the rest to PHP's automatic garbage collector ;-) |
1284 |
1285 |