When editing pages we are getting code appearing around the blocks

Permalink
This is the code we are getting around blocks when editing:
_getAreaAddBlocks(), which then calls a // function in Content to include the file // note, we're also passed an area & collection object from the original function $arHandle = $a->getAreaHandle(); $arHandleTrunc = strtolower(preg_replace("/[^0-9A-Za-z]/", "", $a->getAreaHandle())); $c = $a->getAreaCollectionObject(); $cID = $c->getCollectionID(); $u = new User(); $ap = new Permissions($a); $cp = new Permissions($c); if (!$c->isArrangeMode()&& $a->areaAcceptsBlocks()) { ?> isGlobalArea()) { ?>

Any ideas on how we can fix this?

Thanks

heliocentrix
View Replies:
Doki replied on at Permalink Reply
Doki
Which version of Concrete5 are you currently running?
Gondwana replied on at Permalink Reply
Gondwana
...and which theme?
heliocentrix replied on at Permalink Reply
heliocentrix
The site is running version 5.6.3.5

The theme is a custom theme created by a previous employee.