
09-20-2005, 12:22 PM
|
 |
|
|
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by AndrewD
You're right - sorry about that. It will be fixed in 2.0.5 in a few days.
If it's urgent, you can edit local_links.php. Find line 386:
PHP Code:
default:
$sort = $vbulletin->GPC['sort'];
if ($sort == "") {
$sort = iif($linkscat["$viewcatid"]['catsortorder'] == ' ',
iif(isset($links_defaults['default_sort_order']), $links_defaults['default_sort_order'], 'N'),
$linkscat["$viewcatid"]['catsortorder']);
}
and change to
PHP Code:
default:
$sort = $vbulletin->GPC['sort'];
if ($sort == "") {
$sort = iif(trim($linkscat["$viewcatid"]['catsortorder']),
$linkscat["$viewcatid"]['catsortorder'],
iif(isset($links_defaults['default_sort_order']), $links_defaults['default_sort_order'], 'N')
);
}
|
thanks!!
|