From de2aa64acfda85fa8dc014bdeed0fb47298d42cf Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 15 Aug 2015 06:59:18 -0700 Subject: [PATCH] (stable) Fix an issue with ClassMap handling of DivinerAtomizers Fixes T9193. --- .../diviner/workflow/DivinerGenerateWorkflow.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php index 78f43a826f..d448de69c0 100644 --- a/src/applications/diviner/workflow/DivinerGenerateWorkflow.php +++ b/src/applications/diviner/workflow/DivinerGenerateWorkflow.php @@ -420,9 +420,10 @@ final class DivinerGenerateWorkflow extends DivinerWorkflow { $atomizer_versions = array(); foreach ($atomizers as $atomizer) { - $atomizer_versions[$atomizer['name']] = call_user_func( + $name = get_class($atomizer); + $atomizer_versions[$name] = call_user_func( array( - $atomizer['name'], + $name, 'getAtomizerVersion', )); }