Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.11
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2009 at 17:10 UTC
Updated:
10 Sep 2010 at 16:08 UTC
On all of my admin pages I get the following PHP notice:
notice: Undefined index: value in /home/dave/Projects/www/drupal6dev/sites/all/modules/nodewords/nodewords_basic/nodewords_basic.module on line 187.
An empty $content array is being passed to nodewords_basic_canonical_prepare(), which causes problems:
function nodewords_basic_canonical_prepare(&$tags, $content, $options) {
$content['value'] = trim($content['value'], '/');
if (empty($content['value'])) {
$path = '';
...
Comments
Comment #1
avpadernoThe code has been changed, and committed in CVS.
Thanks for your help, Dave.
Comment #3
teezee commentedPHP Notice is still present in 6.x-1.11, but in another function:
When running cron.
Comment #4
dave reid@teezee: You'll have to reconfirm that it's fixed in the latest CVS code of DRUPAL-6--1 before re-opening.