We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abda40e + 8e0edb8 commit 2082d76Copy full SHA for 2082d76
core/components/formit/model/formit/formit.class.php
@@ -221,6 +221,8 @@ public function getStoreKey() {
221
* @return string The processed content of the Chunk
222
*/
223
public function getChunk($name,$properties = array()) {
224
+ if($pdo = $this->modx->getService('pdoTools'))
225
+ return $pdo->getChunk($name, $properties);
226
$chunk = null;
227
if(substr($name, 0, 6) == "@CODE:"){
228
$content = substr($name, 6);
0 commit comments