Closed (fixed)
Project:
Smart Paging
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2012 at 13:46 UTC
Updated:
5 Aug 2012 at 02:21 UTC
This is happening because not every $head_element has a '#tag' index.
I import content from an outside source which includes something to go in the head which I add directly using drupal_add_html_head() with #type = 'markup'. That means it has no #tag.
I guess we need a isset($head_element['#tag']) in the if statement.
Comments
Comment #1
arpeggio commentedHi icosa, I have already added isset($head_element['#tag']) in the if statement and committed/pushed it. Please use the dev version. Thank you for reporting this issue.