summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/ldapsearchform.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/addressbook/ldapsearchform.inc')
-rw-r--r--program/steps/addressbook/ldapsearchform.inc2
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">' : '';