Fixed coding standard problems

This commit is contained in:
Marcos García de La Fuente 2014-01-05 19:40:49 +01:00
parent f7809906d9
commit c891f4afc4
4 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
// Security check
if (!$user->rights->opensurvey->write) accessforbidden ();
if (!$user->rights->opensurvey->write) accessforbidden();
/*
* Action

View File

@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
// Security check
if (!$user->rights->opensurvey->write) accessforbidden ();
if (!$user->rights->opensurvey->write) accessforbidden();
//le format du sondage est DATE
$_SESSION["formatsondage"] = "D";

View File

@ -28,7 +28,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
// Security check
if (!$user->rights->opensurvey->write) accessforbidden ();
if (!$user->rights->opensurvey->write) accessforbidden();
$langs->load("opensurvey");

View File

@ -29,7 +29,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/files.lib.php");
require_once(DOL_DOCUMENT_ROOT."/opensurvey/fonctions.php");
// Security check
if (!$user->rights->opensurvey->write) accessforbidden ();
if (!$user->rights->opensurvey->write) accessforbidden();
$langs->load("opensurvey");