Applied fixes from FlintCI

pull/2487/head
Julio Montoya 7 years ago
parent acd521bd5d
commit ae7e6ec596
  1. 2
      main/document/document.php

@ -1516,7 +1516,7 @@ if ($isAllowedToEdit ||
// END ACTION MENU
// Attach certificate in the gradebook
if (isset($_GET['curdirpath']) &&
strpos($_GET['curdirpath'],'/certificates') !== false &&
strpos($_GET['curdirpath'], '/certificates') !== false &&
isset($_GET['set_certificate']) &&
$_GET['set_certificate'] == strval(intval($_GET['set_certificate']))
) {

Loading…
Cancel
Save