Update use_stats/locallib.php

Error accessing to the scorm tables.