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 dba7e58 commit 3a163dfCopy full SHA for 3a163df
1 file changed
modules/interventi/actions.php
@@ -1135,11 +1135,9 @@
1135
1136
// Note
1137
$sessione->note = post('note');
1138
-
1139
$sessione->save();
1140
1141
- // Trigger aggiornamento intervento
1142
- $intervento = Intervento::find($id_record);
+ $intervento = $sessione->intervento;
1143
$intervento->updated_at = date('Y-m-d H:i:s');
1144
$intervento->save();
1145
@@ -1161,7 +1159,7 @@
1161
1159
1162
1160
1163
// Trigger aggiornamento intervento
1164
1165
1166
1167
0 commit comments