diff options
author | Marc Delisle <marc@infomarc.info> | 2012-03-13 01:07:57 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2012-03-13 01:07:57 +0400 |
commit | 92ef8d8a8b863fc8c097690fac9c51bc7b1191a2 (patch) | |
tree | 179df1c600455aaf45d452617972bf3dca487f71 /sql.php | |
parent | 59e4ec57790983e31cecf25341ba5c456de173a5 (diff) |
Confirmation after a bookmark creation needs these $_GET parameters
Diffstat (limited to 'sql.php')
-rw-r--r-- | sql.php | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -38,6 +38,21 @@ foreach ($post_params as $one_post_param) { } } +/** + * Sets globals from $_GET + */ +$get_params = array( + 'id_bookmark', + 'label', + 'sql_query' +); +foreach ($get_params as $one_get_param) { + if (isset($_GET[$one_get_param])) { + $GLOBALS[$one_get_param] = $_GET[$one_get_param]; + } +} + + if (isset($_REQUEST['printview'])) { $GLOBALS['printview'] = $_REQUEST['printview']; } |