From 76fc6dada16607138aec3b08ccd337785046b9bb Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 26 May 2017 09:44:14 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#261 --- wire/core/Wire.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wire/core/Wire.php b/wire/core/Wire.php index a9510ad1..f9ee44f3 100644 --- a/wire/core/Wire.php +++ b/wire/core/Wire.php @@ -1002,7 +1002,7 @@ abstract class Wire implements WireTranslatable, WireFuelable, WireTrackable { if(is_null($old) || is_null($new) || $lastValue !== $new) { /** @var WireHooks $hooks */ $hooks = $this->wire('hooks'); - if(($hooks && $hooks->isHooked('changed')) || !$hooks) { + if(($hooks && $hooks->isHooked('changed()')) || !$hooks) { $this->changed($what, $old, $new); // triggers ___changed hook } else { $this->___changed($what, $old, $new);