Skip to content
Snippets Groups Projects
Commit 688dad64 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Removed REQUEST

parent c326e269
Branches
Tags
No related merge requests found
...@@ -63,7 +63,7 @@ if ($user->societe_id > 0) ...@@ -63,7 +63,7 @@ if ($user->societe_id > 0)
* Put here all code to do according to value of "action" parameter * Put here all code to do according to value of "action" parameter
********************************************************************/ ********************************************************************/
if ($_REQUEST["action"] == 'add') if ($_GET["action"] == 'add' || $_POST["action"] == 'add')
{ {
$myobject=new Skeleton_class($db); $myobject=new Skeleton_class($db);
$myobject->prop1=$_POST["field1"]; $myobject->prop1=$_POST["field1"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment