Browse Source

Display tags with spaces between them when reloading upload form

spaghetti 7 years ago
parent
commit
2f7397e6d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      classes/torrent_form.class.php

+ 1
- 1
classes/torrent_form.class.php View File

@@ -524,7 +524,7 @@ Source: <input type="text" value="<?=Users::get_upload_sources()[0]?>" size="20"
524 524
             <option value="<?=$Genre?>"><?=$Genre?></option>
525 525
 <? } ?>
526 526
           </select>
527
-          <input type="text" id="tags" name="tags" size="60" value="<?=display_str($Torrent['TagList']) ?>"<? Users::has_autocomplete_enabled('other'); ?> />
527
+          <input type="text" id="tags" name="tags" size="60" value="<?=display_str(implode(', ', explode(',', $Torrent['TagList']))) ?>"<? Users::has_autocomplete_enabled('other'); ?> />
528 528
           <p class="min_padding notes"></p>
529 529
         </td>
530 530
       </tr>

Loading…
Cancel
Save