Closed (fixed)
Project:
Dropbox Integration
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2009 at 09:50 UTC
Updated:
14 Aug 2009 at 01:50 UTC
dropbox_boot() accesses $arg[1] and $arg[2] without checking whether they exist first, which causes warnings like:
Notice: Undefined offset: 1 in /var/www/audean.com/www/sites/blog.riff.org/modules/dropbox/dropbox.module on line 31
Warning: Cannot modify header information - headers already sent by (output started at (snip)/modules/dropbox/dropbox.module:31) in (snip)/includes/bootstrap.inc on line 630 (4 times)
Notice: Undefined offset: 2 in /var/www/audean.com/www/sites/blog.riff.org/modules/dropbox/dropbox.module on line 31
Warning: Cannot modify header information - headers already sent by (output started at (snip)/modules/dropbox/dropbox.module:31) in (snip)/includes/bootstrap.inc on line 630 (4 times)
Small patch suggested.
| Comment | File | Size | Author |
|---|---|---|---|
| boot-isset.patch | 1.37 KB | fgm |
Comments
Comment #1
deviantintegral commentedThanks for the patch. It looks good, I've committed it to HEAD.