Fixed a bug where the up/down arrows weren't showing.

This commit is contained in:
JT Smith 2002-08-15 00:21:57 +00:00
parent 43b7820191
commit dd4d05df91

View file

@ -42,9 +42,9 @@ sub sortByColumn {
$output .= '">'.$_[1].'</a>';
if ($session{form}{sort} eq $_[0]) {
if ($session{form}{sortDirection} eq "desc") {
$output .= ' <img src="'.$session{setting}{lib}.'/desc.gif">';
$output .= ' <img src="'.$session{config}{extras}.'/desc.gif">';
} else {
$output .= ' <img src="'.$session{setting}{lib}.'/asc.gif">';
$output .= ' <img src="'.$session{config}{extras}.'/asc.gif">';
}
}
return $output;