Now what is it about 4.5.6 that broke it?
BTW $tablestart = strpos($tmpstr, "<td>"); Did not fix the problem for me either. I don't think that is the problem considering they left out the last bracket so that it can include the class="".
This line was also changed in 4.5.5 (catalog/includes/functions/sts.php).
$tmpstr = substr($tmpstr, strpos ($tmpstr,">",$tablestart)+1); // strip off stuff before (and including <td>, v4.5.5
replaced that with this:
$tmpstr = substr($tmpstr, $tablestart+4)
That didn't fix it either. So what was changed in .6?