1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 17:54:44 +02:00
This commit is contained in:
Ryan Cramer
2017-12-11 05:42:48 -05:00
parent 927f66cc61
commit 763c713f4c
2 changed files with 2 additions and 2 deletions

View File

@@ -404,7 +404,7 @@ class InputfieldForm extends InputfieldWrapper {
$matches = false;
if($subfield == 'count') {
$value = count($value);
$value = wireCount($value);
if(self::debug) $this->debugNote("Actual count ($debugNote): $value");
}
if(is_object($value)) $value = "$value";

View File

@@ -61,7 +61,7 @@ class InputfieldMarkup extends InputfieldWrapper {
}
$out = trim($out);
if(count($textformatters)) {
if(wireCount($textformatters)) {
foreach($textformatters as $className) {
$t = $this->wire('modules')->get($className);
if(!$t) continue;