Ticket #1029: fix-new-option-ids.patch
File fix-new-option-ids.patch, 820 bytes (added by , 15 years ago) |
---|
-
bp-xprofile/bp-xprofile-classes.php
472 472 <a href="admin.php?page=<?php echo BP_PLUGIN_DIR ?>/bp-xprofile.php&mode=delete_option&option_id=<?php echo $options[$i]->id ?>" class="ajax-option-delete" id="delete-<?php echo $options[$i]->id ?>">[x]</a></p> 473 473 </p> 474 474 <?php } // end for ?> 475 <input type="hidden" name="<?php echo $type ?>_option_number" id="<?php echo $type ?>_option_number" value="<?php echo $j ?>" />475 <input type="hidden" name="<?php echo $type ?>_option_number" id="<?php echo $type ?>_option_number" value="<?php echo $j + 1 ?>" /> 476 476 477 477 <?php 478 478 } else {