Explorar el Código

Allow plugins to submit security token via GET request

pdontthink hace 16 años
padre
commit
8b4098af85
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/options.php

+ 1 - 1
src/options.php

@@ -105,7 +105,7 @@ function process_optionmode_link($optpage) {
 sqgetGlobalVar('optpage',     $optpage);
 sqgetGlobalVar('optmode',     $optmode,         SQ_FORM);
 sqgetGlobalVar('optpage_data',$optpage_data,    SQ_POST);
-sqgetGlobalVar('smtoken',     $submitted_token, SQ_POST, '');
+sqgetGlobalVar('smtoken',     $submitted_token, SQ_FORM, '');
 /* end of getting globals */
 
 /* Make sure we have an Option Page set. Default to main. */