Commit ab31076e authored by yched's avatar yched

Issue #1442886 by pdrake: Fixed fatal error "failed opening theme.inc" in some edge cases.

parent 0ec15afa
......@@ -8,6 +8,8 @@ Bugfixes:
when using the Advanced View option (with Views 6.x-3.x)
- #1423432 by sun: Fixed testInfo() methods throws PHP notices.
- #1533506 by yched: Fixed field tokens not available in hook_update_N().
- #1442886 by pdrake: Fixed fatal error "failed opening theme.inc" in some edge
cases.
CCK 6.x-2.9
===========
......
......@@ -175,7 +175,7 @@ function content_elements() {
*/
function content_theme() {
$path = drupal_get_path('module', 'content') .'/theme';
require_once "./$path/theme.inc";
module_load_include('inc', 'content', 'theme/theme');
return array(
'content_field' => array(
......
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