diff --git a/core/components/formit/model/formit/formit.class.php b/core/components/formit/model/formit/formit.class.php index 91cfc1eb..18b324d6 100644 --- a/core/components/formit/model/formit/formit.class.php +++ b/core/components/formit/model/formit/formit.class.php @@ -221,6 +221,8 @@ public function getStoreKey() { * @return string The processed content of the Chunk */ public function getChunk($name,$properties = array()) { + if($pdo = $this->modx->getService('pdoTools')) + return $pdo->getChunk($name, $properties); $chunk = null; if(substr($name, 0, 6) == "@CODE:"){ $content = substr($name, 6);