errore nella if
This commit is contained in:
parent
f59f05f88b
commit
14990049ed
@ -399,7 +399,7 @@ public function ContoA()
|
||||
// Ritorna gli anni presenti nei movimenti
|
||||
public static function getYearsFromMovimenti()
|
||||
{
|
||||
if (!env('DB_CONNECTION')=='sqlite') {
|
||||
if (env('DB_CONNECTION')!='sqlite') {
|
||||
return self::selectRaw('DISTINCT YEAR(mov_data) as anno')
|
||||
->orderBy('anno', 'desc')
|
||||
->get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user