From ff695735394c7865391bc2a22201a8df9b291215 Mon Sep 17 00:00:00 2001 From: Sam Boyer Date: Sun, 13 Mar 2011 10:21:50 -0500 Subject: [PATCH] Issue #1091176: Watchdog autoload registry misses with level WATCHDOG_NOTICE. --- autoload.module | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/autoload.module b/autoload.module index 270b9fe..aa5b9df 100644 --- a/autoload.module +++ b/autoload.module @@ -202,6 +202,11 @@ function _autoload_registry_check_code($type, $name = NULL) { return TRUE; } else { + $variables = array( + '%type' => $type, + '%name' => $name, + ); + watchdog('autoload', "Registry had no entry for %type %name", $variables, WATCHDOG_NOTICE); return FALSE; } } -- 1.7.2.3