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:
parent
557f1593aa
commit
b51158968f
@ -70,7 +70,7 @@ class Banca extends Model
|
|||||||
|
|
||||||
protected function fixPredefined()
|
protected function fixPredefined()
|
||||||
{
|
{
|
||||||
$predefined = $this->predefined;
|
$predefined = isset($this->predefined) ? $this->predefined : false;
|
||||||
|
|
||||||
// Selezione automatica per primo record
|
// Selezione automatica per primo record
|
||||||
$count = self::where('id_anagrafica', $this->id_anagrafica)
|
$count = self::where('id_anagrafica', $this->id_anagrafica)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user