Merge pull request #7916 from atm-ph/fix_4.0_require_class

Fix include class WorkboardResponse
This commit is contained in:
Laurent Destailleur 2017-12-08 10:40:26 +01:00 committed by GitHub
commit 6de3a40546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,7 +383,7 @@ if ($showweather) $boxwork.='<th class="liste_titre hideonsmartphone" width="80"
$boxwork.='</tr>'."\n";
// Do not include sections without management permission
require DOL_DOCUMENT_ROOT.'/core/class/workboardresponse.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/workboardresponse.class.php';
// Number of actions to do (late)
if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->read)