Web contact: Fix issue with unwanted ,

Apparently isset is not enough and we should use not-empty.

SVN revision: 64688
This commit is contained in:
Tom Hacohen 2011-11-03 12:30:49 +00:00
parent 2e333b7fd5
commit dca5f96b5b
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ curious.
<tr <?php tr_odd() ?>>
<td class="photo"> <?php echo dev_data_photo($data) ?></td>
<td class="name"> <?php td(dev_data_contact($data)) ?></td>
<td class="manage"> <?php td(@$data['Managing'] . ((isset($data['Managing']) && isset($data['Contributing'])) ? ", " : "") . @$data['Contributing']) ?></td>
<td class="manage"> <?php td(@$data['Managing'] . ((!empty($data['Managing']) && !empty($data['Contributing'])) ? ", " : "") . @$data['Contributing']) ?></td>
<td class="irc"> <?php td(dev_data_irc($data)) ?></td>
<td class="location"> <?php td(@$data['Location']) ?></td>
<td class="website"> <?php td(dev_data_www($data)) ?></td>