Changeset 70 for trunk


Ignore:
Timestamp:
Mar 30, 2024, 11:26:09 PM (8 months ago)
Author:
chronos
Message:
  • Fixed: Dance item doesn't have link property.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Dance/Dance.php

    r63 r70  
    4545    if ($DbResult->num_rows > 0)
    4646    {
    47       $MeetItem = $DbResult->fetch_assoc();
    48       if ($MeetItem['Link'] != '') $Link = '<a href="'.$MeetItem['Link'].'">Odkaz</a>';
    49         else $Link = '';
     47      $DanceItem = $DbResult->fetch_assoc();
    5048      $Output .= '<table class="ItemTable">'.
    51         '<tr><th>Jméno</th><td>'.$MeetItem['Name'].'</td></tr>'.
    52         '<tr><th>Skupina</th><td>'.$MeetItem['DanceGroupName'].'</td></tr>';
     49        '<tr><th>Jméno</th><td>'.$DanceItem['Name'].'</td></tr>'.
     50        '<tr><th>Skupina</th><td>'.$DanceItem['DanceGroupName'].'</td></tr>';
    5351      $Output .= '</table>';
    5452    } else $Output .= 'Položka nenalezena';
Note: See TracChangeset for help on using the changeset viewer.