Error: Drupal 7 Core Concepts
In the 3. chapter "How Hooks Work and How to Use Them"
video: "Displaying a block with hook_block_view() and checking permissions with user_access()"
After enabling the module I get this error.
Notice: Undefined variable: output in trails_block_view() (line 146 of /var/www/drupal7/sites/all/modules/custom/trails/trails.module).
The code in the "resource-pack-drupal-7-core-concepts" is not the same as on the video.
I'm not far enough in the learning-curve to know what the message want's to tell me :)