From: Konstantin B. <fi...@ph...> - 2004-06-29 06:19:51
|
A notice apprears due no use of probably unset $_REQUEST['action']. The patch is: < if (!isset($_REQUEST['action']) || $_REQUEST['action'] == 'sql') --- > $action = isset($_REQUEST['action']) ? $_REQUIEST['action'] : false; > if ($action === false || $action == 'sql') 31c32 < urlencode($_REQUEST['action']) . "&database=' + encodeURI(options[selectedIndex].value) + '&query=' + encodeURI(query.value) + (paginate.checked ? '&paginate=on' : '') + '&" . --- > urlencode($action) . "&database=' + encodeURI(options[selectedIndex].value) + '&query=' + encodeURI(query.value) + (paginate.checked ? '&paginate=on' : '') + '&" . 35c36 < urlencode($_REQUEST['action']) . "&database=' + encodeURI(options[selectedIndex].value) + '&term=' + encodeURI(term.value) + '&" . SID . "'\">\n"; --- > urlencode($action) . "&database=' + encodeURI(options[selectedIndex].value) + '&term=' + encodeURI(term.value) + '&" . SID . "'\">\n"; Sent via Contact Form on phppgadmin.sourceforge.net |