diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-25 17:34:19 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-25 17:34:19 +0000 |
| commit | 916676eafd05379db18614e3c0431fdbd422feb2 (patch) | |
| tree | 3ff32ced45c2e0c8a57b9c64ebe676f7eda0d9c5 /roundcubemail/program/steps/addressbook | |
| parent | 2f82db76ece7e62d182850dea58c902b7d0a43f3 (diff) | |
Fixed some potential security risks + updatedd changelog
git-svn-id: https://svn.roundcube.net/trunk@930 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/func.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc index 574ef874e..b916ad796 100644 --- a/roundcubemail/program/steps/addressbook/func.inc +++ b/roundcubemail/program/steps/addressbook/func.inc @@ -32,10 +32,7 @@ $CONTACTS->set_pagesize($CONFIG['pagesize']); // set list properties and session vars if (!empty($_GET['_page'])) - { - $CONTACTS->set_page(intval($_GET['_page'])); - $_SESSION['page'] = $_GET['_page']; - } + $CONTACTS->set_page(($_SESSION['page'] = intval($_GET['_page']))); else $CONTACTS->set_page(isset($_SESSION['page']) ?$_SESSION['page'] : 1); |
