mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix issue processwire/processwire-issues#615
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user