mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Update card.php
This commit is contained in:
parent
a079fb3fec
commit
39627db434
|
|
@ -18,15 +18,17 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/opensurvey/card.php
|
||||
* \ingroup opensurvey
|
||||
* \brief Page to edit survey
|
||||
* \file htdocs/opensurvey/card.php
|
||||
* \ingroup opensurvey
|
||||
* \brief Page to edit survey
|
||||
*/
|
||||
|
||||
|
||||
// Load Dolibarr environment
|
||||
require '../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT."/core/class/doleditor.class.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/core/lib/admin.lib.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/core/lib/files.lib.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/core/class/doleditor.class.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/opensurvey/class/opensurveysondage.class.php";
|
||||
require_once DOL_DOCUMENT_ROOT."/opensurvey/lib/opensurvey.lib.php";
|
||||
|
||||
|
|
@ -36,7 +38,7 @@ if (empty($user->rights->opensurvey->read)) {
|
|||
accessforbidden();
|
||||
}
|
||||
|
||||
// Initialisation des variables
|
||||
// Initialize Variables
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
$cancel = GETPOST('cancel', 'alpha');
|
||||
|
||||
|
|
@ -46,6 +48,7 @@ if (GETPOST('id')) {
|
|||
$numsondage = (string) GETPOST('id', 'alpha');
|
||||
}
|
||||
|
||||
// Initialize objects
|
||||
$object = new Opensurveysondage($db);
|
||||
|
||||
$result = $object->fetch(0, $numsondage);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user