There are 2 bugs in action.stickythread.php, these should have definitly been caught before release...
Open up action.stickythread.php
Find:
PHP Code:
$threadinfo = $DB_site->query_first("SELECT threadid, title, sticky FROM thread WHERE threadid='$threadid'");
Replace with:
PHP Code:
$threadinfo = $DB_site->query_first("SELECT threadid, title, sticky FROM ".TABLE_PREFIX."thread WHERE threadid='$threadid'");
Find:
PHP Code:
addslahes($thread['title'])
Replace with:
PHP Code:
addslashes($thread['title'])