deplacement de la ligne 81 a la ligne 34 pour assigner $_GET["socid"]
remplaceement de $sendit par $_POST["sendit"]
This commit is contained in:
parent
1238f7417f
commit
b2ae3b4271
@ -31,6 +31,7 @@ require("./pre.inc.php");
|
|||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
$mesg = "";
|
$mesg = "";
|
||||||
|
$socid=$_GET["socid"];
|
||||||
|
|
||||||
$upload_dir = SOCIETE_OUTPUTDIR . "/" . $socid ;
|
$upload_dir = SOCIETE_OUTPUTDIR . "/" . $socid ;
|
||||||
|
|
||||||
@ -43,7 +44,7 @@ if (! is_dir($upload_dir))
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $sendit && defined('MAIN_UPLOAD_DOC') && MAIN_UPLOAD_DOC == 1)
|
if ( $_POST["sendit"] && defined('MAIN_UPLOAD_DOC') && MAIN_UPLOAD_DOC == 1)
|
||||||
{
|
{
|
||||||
if (is_dir($upload_dir))
|
if (is_dir($upload_dir))
|
||||||
{
|
{
|
||||||
@ -78,7 +79,6 @@ if ($action=='delete')
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
$socid=$_GET["socid"];
|
|
||||||
|
|
||||||
if ($socid > 0)
|
if ($socid > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user