Ticket #592: 592-jForms-GET-method.diff
| File 592-jForms-GET-method.diff, 1.1 kB (added by Julien, 8 months ago) |
|---|
-
lib/jelix/plugins/tpl/html/block.form.php
old new 57 57 else 58 58 $helpdecorator = "'jFormsHelpDecoratorAlert'"; 59 59 60 $method = strtolower(isset($param[5])?$param[5]:'post');60 $method = isset($param[5])?strtolower(str_replace(array('\'','"'),array('',''),$param[5])):'post'; 61 61 if($method!='get' && $method!='post') 62 62 $method='post'; 63 63 -
lib/jelix/plugins/tpl/html/cfunction.formfull.php
old new 47 47 else 48 48 $helpdecorator = "'jFormsHelpDecoratorAlert'"; 49 49 50 $method = strtolower(isset($params[5])?$params[5]:'post');50 $method = isset($params[5])?strtolower(str_replace(array('\'','"'),array('',''),$params[5])):'post'; 51 51 if($method!='get' && $method!='post') 52 52 $method='post'; 53 53
