Commit 48bbf720 authored by drumm's avatar drumm

#83225 by Heine. Remove an extra theme('placeholder').

parent 1081f927
...@@ -380,7 +380,7 @@ function _phptemplate_default($hook, $variables, $suggestions = array(), $extens ...@@ -380,7 +380,7 @@ function _phptemplate_default($hook, $variables, $suggestions = array(), $extens
} }
else { else {
$variables['hook'] = $hook; $variables['hook'] = $hook;
watchdog('error', t('%engine.engine was instructed to override the %name theme function, but no valid template file was found.', array('%engine' => $theme_engine, '%name' => theme('placeholder', $hook)))); watchdog('error', t('%engine.engine was instructed to override the %name theme function, but no valid template file was found.', array('%engine' => $theme_engine, '%name' => $hook)));
$file = "themes/engines/$theme_engine/default$extension"; $file = "themes/engines/$theme_engine/default$extension";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment