diff options
author | thomascube <thomas@roundcube.net> | 2006-03-03 16:34:35 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-03-03 16:34:35 +0000 |
commit | ea7c46b4f37691702b8e78dea34c3e9a3afb232d (patch) | |
tree | 68820a04bbba541690f578a3a5e0602ab3b082ad /program/steps/addressbook/ldapsearchform.inc | |
parent | 8eba3000888d596263eb2b8923dacd20cd816878 (diff) |
Improved reading of POST and GET values
Diffstat (limited to 'program/steps/addressbook/ldapsearchform.inc')
-rw-r--r-- | program/steps/addressbook/ldapsearchform.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/ldapsearchform.inc b/program/steps/addressbook/ldapsearchform.inc index 5c04406c5..a4e08dcdc 100644 --- a/program/steps/addressbook/ldapsearchform.inc +++ b/program/steps/addressbook/ldapsearchform.inc @@ -255,7 +255,7 @@ function get_form_tags($attrib) $hiddenfields = new hiddenfield(array('name' => '_task', 'value' => $GLOBALS['_task'])); $hiddenfields->add(array('name' => '_action', 'value' => 'ldappublicsearch')); - if ($_GET['_framed'] || $_POST['_framed']) + if ($_framed) $hiddenfields->add(array('name' => '_framed', 'value' => 1)); $form_start .= !strlen($attrib['form']) ? '<form name="form" action="./" method="post">' : ''; |