BUGFIX Fixed regular expression to trim off last "</ul>" tag in LeftAndMain->getsubtree(), switched from deprecated ereg_replace() to preg_replace
BUGFIX Fixed regular expression to trim off last "</ul>" tag in LeftAndMain->getsubtree(), switched from deprecated ereg_replace() to preg_replace

silverstripe/silverstripe-cms,silverstripe/silverstripe-siteconfig,silverstripe/silverstripe-cms,dhensby/silverstripe-cms,dhensby/silverstripe-cms,helpfulrobot/i-lateral-silverstripe-siteconfig,dhensby/silverstripe-cms,dhensby/silverstripe-reports,silverstripe-labs/silverstripe-reports,jonom/silverstripe-cms,jonom/silverstripe-cms,dhensby/silverstripe-reports,silverstripe-labs/silverstripe-reports