PHRAS-3066 #commetn fix 500 error on tools #time 2h

This commit is contained in:
Harrys Ravalomanana
2020-05-12 11:15:07 +04:00
parent e9b3a83c59
commit 7022c382b8
2 changed files with 6 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ class ToolsController extends Controller
$metadatas = false;
$record = null;
$recordAccessibleSubdefs = array();
$listsubdef= null;
if (count($records) == 1) {
/** @var \record_adapter $record */
$record = $records->first();