Fixed coding standard problems
This commit is contained in:
parent
f7809906d9
commit
c891f4afc4
@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (!$user->rights->opensurvey->write) accessforbidden ();
|
if (!$user->rights->opensurvey->write) accessforbidden();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Action
|
* Action
|
||||||
|
|||||||
@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (!$user->rights->opensurvey->write) accessforbidden ();
|
if (!$user->rights->opensurvey->write) accessforbidden();
|
||||||
|
|
||||||
//le format du sondage est DATE
|
//le format du sondage est DATE
|
||||||
$_SESSION["formatsondage"] = "D";
|
$_SESSION["formatsondage"] = "D";
|
||||||
|
|||||||
@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (!$user->rights->opensurvey->write) accessforbidden ();
|
if (!$user->rights->opensurvey->write) accessforbidden();
|
||||||
|
|
||||||
$langs->load("opensurvey");
|
$langs->load("opensurvey");
|
||||||
|
|
||||||
|
|||||||
@ -29,7 +29,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
|
|||||||
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if (!$user->rights->opensurvey->write) accessforbidden ();
|
if (!$user->rights->opensurvey->write) accessforbidden();
|
||||||
|
|
||||||
$langs->load("opensurvey");
|
$langs->load("opensurvey");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user