Posted by kim.pepper on November 16, 2010 at 5:47am
5 followers
| Project: | Node Blocks |
| Version: | 6.x-1.4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Issue Summary
I'm getting a warning:
Notice: Undefined property: stdClass::$nodeblock in nodeblock_preprocess_node() (line 194 of /Users/kim/dev/servcorp/pressflow/sites/all/modules/contrib/nodeblock/nodeblock.module).
changing from:
<?php
if ($variables['node']->nodeblock) {
?>to
<?php
if (isset($variables['node']->nodeblock)) {
?>Fixes the problem.
Kim
Comments
#1
Here is a patch containing the above mentioned solution.
#2
Working well in production
#3
Subscribe.
#4
+1, patch is good.