FIX: use mysqli_real_escape_string if TYPO3 Version >= 6.1