I get the notice: Undefined index: HTTP_X_DRUPAL_RENDER_MODE in C:\xampp\htdocs\trunk\sites\all\modules\popups\popups.module on line 83.
I can not find any place in the Drupal code where this $_SERVER['HTTP_X_DRUPAL_RENDER_MODE'] is set.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | popups.patch | 748 bytes | gustav |
Comments
Comment #1
starbow commentedYou must have a pretty strict php warning level. That global is set by PHP itself in response to the HTTP header. I will put in an isset test.
Comment #2
gustav commentedThe isset test only moves the notice to later when $render_mode is used. The attached patch removes the notice altogether.
Comment #3
starbow commentedWhoops, missed this in RC2, but it is in dev.
Comment #4
eMPee584 commentedThis patch is not in the current RC.
Comment #5
starbow commentedWeird. You are right.
I have checked it into dev again.