ksort does not return a value

This commit is contained in:
2010-01-21 14:54:14 +00:00
parent 8b7f743ae3
commit bba7e27550

View File

@@ -161,6 +161,8 @@ if (isset($_POST['action'])) {
} }
} }
ksort($currentEpisodes);
} }
@@ -395,7 +397,7 @@ label {
</thead> </thead>
<?php <?php
foreach (ksort($currentEpisodes) as $identifier => $episodes) { foreach ($currentEpisodes as $identifier => $episodes) {
$entryCount = count($episodes); $entryCount = count($episodes);
$rowspan = $entryCount ? " rowspan=\"{$entryCount}\"" : ''; $rowspan = $entryCount ? " rowspan=\"{$entryCount}\"" : '';