Quote Originally Posted by clydejones View Post
This line of code will eliminate the error:
PHP Code:
$categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lc.link_categories_sort_order, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order"); 
that fixed the error, and the sort order in the on line catalog

but did not fix the sort order in the admin/extras/links