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

Home » RADICORE » How To » choosing "new" with an item selected in list2
Re: choosing "new" with an item selected in list2 [message #1129 is a reply to message #1128] Wed, 10 October 2007 10:35 Go to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
Upon reflection I have decided to remove that change from the childform() fuction and modify file 'std.add2.inc' so that it reads as follows:
if (!empty($selection) AND !isset($return_from)) {
    if (empty($where)) {
    	// only use $selection if $where is empty
        $where = $selection;
    } // if
    $selection = null;
} // if

This means that regardless of the calling form, $selection will only be used if $where is empty. I think this should cover all eventualities.


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: multi3
Next Topic: selection remaining
Goto Forum:
  


Current Time: Fri Nov 22 16:07:16 EST 2024

Total time taken to generate the page: 0.01146 seconds