[Bug 6401] PHP error 'Undefined offset: 3' during submitting a form

[email protected] Tue, 11 Aug 2009 18:15:38 +0000 (GMT)
Newsgroups gmane.comp.cms.xaraya.bugs
Message-ID <[email protected]>
http://bugs.xaraya.com/show_bug.cgi?id=6401





------- Comment #1 from [email protected]  2009-08-11 18:15 GMT -------
Created an attachment (id=4120)
 --> (http://bugs.xaraya.com/attachment.cgi?id=4120&action=view)
Dirty fix for this issue

I have found an dirty fix - sometimes it needs to use originally written:
$nav['action_pid'] = $keys[ $indexes[$currentpid] + 1 ];
but when it's too high (overflow array's size) it needs to use
$nav['action_pid'] = $keys[ $indexes[$currentpid]];

Jason, do you have an idea, where is the problem hidden?


-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---- ** IMPORTANT ** READ BELOW ** ----
[Clip Me Start]
--------------------------------------------------------------------------
If you wish, you can reply to this message directly **however**, make sure
to use the "Reply To All" feature of your client **and** ensure that the 
bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have 
you're From or Reply-To address set to the same address you use to log
into your bugzilla account or your reply will not be attached to the bug.
--------------------------------------------------------------------------
[Clip Me End]