Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 78 | Revision 80 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 78 Revision 79
Zeile 27... Zeile 27...
27
            return Attribute::make(
27
            return Attribute::make(
28
                get: function ( string $value )
28
                get: function ( string $value )
29
                {
29
                {
30
                    if ( $this->shop_id > 1 )
30
                    if ( $this->shop_id > 1 )
31
                    {
31
                    {
32
                        $manufacturer = Manufacturer::setConnetion( 'shop' . $this->shop_id );
32
                        $manufacturer = Manufacturer::setConnection( 'shop' . $this->shop_id );
33
                    }
33
                    }
34
                    else
34
                    else
35
                    {
35
                    {
36
                        $manufacturer = Manufacturer::setConnection( 'default' );
36
                        $manufacturer = Manufacturer::setConnection( 'default' );
37
                    }
37
                    }