Ticket #402: category_list_ids.diff

File category_list_ids.diff, 518 bytes (added by Adam Di Carlo <aph@…>, 16 years ago)
  • mythweb/themes/Default/video.php

     
    4040    if( $Filter_Category == -1)
    4141        echo "selected";
    4242    echo ">All</option>\n";
    43     for($i=0;$i<=$Total_Categories;$i++) {
     43    foreach (array_keys($Category_String) as $i) {
    4444        echo "<option value=$i ";
    4545        if( $i == $Filter_Category )
    4646            echo "selected";