Typo in document.class.inc.php