Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » using Popup on outer table of MULTI4
Re: using Popup on outer table of MULTI4 [message #1143 is a reply to message #1142] Thu, 25 October 2007 18:13 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2369
Registered: April 2006
Location: Surrey, UK
Senior Member
Here is the fix which I have just tested. Within function childForm() in file include.session.inc change
    if (is_array($value)) {
        $offset = key($value);
    } else {
        $offset = 1;
    } // if
to
    if (is_array($value)) {
        $offset = key($value);
    } else {
        $offset = 1;
        if (count($object_array) > 1) {
            // set to previous entry in array
            $null       = prev($object_array);
            $objectname = key($object_array);
            $dbobject   = $object_array[$objectname];
        } // if
    } // if

Let me know if this works for you and I shall include it in the next release.


 
Read Message
Read Message
Read Message
Previous Topic: dict_table_s03
Next Topic: getInitialDataMultiple does not deal with ') OR (' in $where parameter
Goto Forum:
  


Current Time: Mon Nov 25 09:57:40 EST 2024

Total time taken to generate the page: 0.00901 seconds