Fix: change "idp" to "rowid"
This commit is contained in:
parent
1b95553693
commit
75f749c4ec
@ -245,7 +245,7 @@ if ($modulepart)
|
|||||||
$accessallowed=1;
|
$accessallowed=1;
|
||||||
}
|
}
|
||||||
$original_file=$conf->societe->dir_output.'/'.$original_file;
|
$original_file=$conf->societe->dir_output.'/'.$original_file;
|
||||||
$sqlprotectagainstexternals = "SELECT rowid as fk_soc FROM ".MAIN_DB_PREFIX."societe WHERE idp='$refname'";
|
$sqlprotectagainstexternals = "SELECT rowid as fk_soc FROM ".MAIN_DB_PREFIX."societe WHERE rowid = '".$refname."'";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wrapping pour les expedition
|
// Wrapping pour les expedition
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user