Closed (fixed)
Project:
Theme developer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2011 at 23:49 UTC
Updated:
11 Mar 2011 at 14:11 UTC
Hi, i have bad fortune to have php notices shown :) so i have one (described in topic).
And there is my bug fix:
--- www/sites/all/modules/devel_themer/devel_themer.module
+++ www/sites/all/modules/devel_themer/devel_themer.module
@@ -509,7 +509,7 @@ function devel_themer_theme_twin($hook, $variables) {
$meta['suggestions'] = $suggestions;
$meta['template_file'] = $template_file;
- $meta['preprocessors'] = $info['preprocess functions'];
+ $meta['preprocessors'] = isset($info['preprocess functions']) ? $info['preprocess functions'] : array();
$output = $render_function($template_file, $variables);
}
| Comment | File | Size | Author |
|---|---|---|---|
| notice_fix.diff | 672 bytes | jlarky |
Comments
Comment #1
JeremyFrench commentedCommited here http://drupalcode.org/project/devel_themer.git/commit/b838dfe