1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-02 17:07:01 +01:00

Fix gestione automatica campo predefined

This commit is contained in:
Dasc3er 2020-09-24 16:55:45 +02:00
parent 557f1593aa
commit b51158968f

View File

@ -70,7 +70,7 @@ class Banca extends Model
protected function fixPredefined()
{
$predefined = $this->predefined;
$predefined = isset($this->predefined) ? $this->predefined : false;
// Selezione automatica per primo record
$count = self::where('id_anagrafica', $this->id_anagrafica)