We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a18812 commit 5cf625fCopy full SHA for 5cf625f
1 file changed
modules/utenti/edit.php
@@ -23,7 +23,7 @@
23
use Models\Group;
24
25
$group = Group::find($id_record);
26
-$record = $group->toArray();
+$record = $group ? $group->toArray() : null;
27
28
// Lettura gruppi
29
$gruppi = $dbo->fetchArray('SELECT `id`, `nome` FROM `zz_groups`');
0 commit comments