Ignore:
Timestamp:
Feb 14, 2007, 2:37:38 AM (17 years ago)
Author:
rvelices
Message:

tags returned by get_all_tags, get_available_tags contain id key instead of tag_id
(as expected by make_index_url, as $pagetags was and as the database model is)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r1789 r1815  
    559559      .'<label>'
    560560      .'<input type="checkbox" name="'.$fieldname.'[]"'
    561       .' value="'.$tag['tag_id'].'"'
     561      .' value="'.$tag['id'].'"'
    562562      ;
    563563
    564     if (in_array($tag['tag_id'], $selecteds))
     564    if (in_array($tag['id'], $selecteds))
    565565    {
    566566      $output.= ' checked="checked"';
Note: See TracChangeset for help on using the changeset viewer.