mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix preferences to work with register_globals off
This commit is contained in:
parent
ad362668ed
commit
50a6073b51
@ -1002,7 +1002,11 @@
|
||||
|
||||
function preferences()
|
||||
{
|
||||
global $submit,$prefs,$other,$fcat_id;
|
||||
$submit = $GLOBALS['HTTP_POST_VARS']['submit'];
|
||||
$prefs = $GLOBALS['HTTP_POST_VARS']['prefs'];
|
||||
$other = $GLOBALS['HTTP_POST_VARS']['other'];
|
||||
$fcat_id = $GLOBALS['HTTP_POST_VARS']['fcat_id'];
|
||||
|
||||
/* _debug_array($this->prefs); */
|
||||
$customfields = $this->read_custom_fields();
|
||||
|
||||
@ -1032,7 +1036,7 @@
|
||||
|
||||
$this->template->set_file(array('preferences' => 'preferences.tpl'));
|
||||
|
||||
$this->template->set_var(action_url,$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences'));
|
||||
$this->template->set_var('action_url',$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences'));
|
||||
|
||||
$i = 0; $j = 0;
|
||||
$tr_color = $GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color);
|
||||
|
Loading…
Reference in New Issue
Block a user