« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. 
  Error type/ Nr.: - 8192 
  File: /home/syliboy1/public_html/manager/includes/document.parser.class.inc.php 
  Line: 809 
  Line 809 source: $sql= "SELECT * FROM " . $this->getFullTableName("site_snippets") . " WHERE " . $this->getFullTableName("site_snippets") . ".name='" . mysql_escape_string($matches[1][$i]) . "';";  
 
Parser timing
  MySQL: 0.0298 s(5 Requests)
  PHP: 0.0051 s 
  Total: 0.0349 s