1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-17 20:11:46 +02:00
This commit is contained in:
Ryan Cramer
2019-02-28 12:10:18 -05:00
parent a2ec801a1a
commit bb571b66c0

View File

@@ -1263,7 +1263,7 @@ class ProcessPageLister extends Process implements ConfigurableModule {
// count
$value = $value->count();
} else if($field && $field->type && $this->wire('hooks')->isHooked($field->type->className() . '::markupValue()')) {
} else if($field && $field->type && $this->wire('hooks')->isMethodHooked($field->type->className(), 'markupValue')) {
// if the markupValue method is hooked, let it have control
if($subname == 'data') $subname = '';
$value = $field->type->markupValue($p, $field, $value, $subname);