Fix: Generation code barre avec optin warning au max
This commit is contained in:
parent
9477c723a6
commit
ec5adb86d9
@ -26,7 +26,7 @@
|
|||||||
\version $Id$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$original_file = urldecode($_GET["file"]);
|
$original_file = isset($_GET["file"])?urldecode($_GET["file"]):'';
|
||||||
$modulepart = urldecode($_GET["modulepart"]);
|
$modulepart = urldecode($_GET["modulepart"]);
|
||||||
$type = isset($_GET["type"]) ? urldecode($_GET["type"]) : '';
|
$type = isset($_GET["type"]) ? urldecode($_GET["type"]) : '';
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ $original_file = eregi_replace('\.\.','',$original_file);
|
|||||||
$accessallowed=0;
|
$accessallowed=0;
|
||||||
if ($modulepart)
|
if ($modulepart)
|
||||||
{
|
{
|
||||||
// On fait une v<>rification des droits et on d<>finit le r<>pertoire concern<72>
|
// Check permissions and define directory
|
||||||
|
|
||||||
// Wrapping pour les photo utilisateurs
|
// Wrapping pour les photo utilisateurs
|
||||||
if ($modulepart == 'companylogo')
|
if ($modulepart == 'companylogo')
|
||||||
@ -280,7 +280,7 @@ if ($modulepart)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Security:
|
// Security:
|
||||||
// Limite acc<63>s si droits non corrects
|
// Limit access if permissions are wrong
|
||||||
if (! $accessallowed)
|
if (! $accessallowed)
|
||||||
{
|
{
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user