Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 710 Revision 711
Zeile 47... Zeile 47...
47
                WHERE country_id IN (" . $countryIDs . ")
47
                WHERE country_id IN (" . $countryIDs . ")
48
        ";
48
        ";
49
    $rows = DB::connection("cms")->select( $sql );
49
    $rows = DB::connection("cms")->select( $sql );
50
    foreach ( $rows as $r )
50
    foreach ( $rows as $r )
51
    {
51
    {
52
        $GLOBALS["steuern"][$r['countries_id']][$r['taxes_id']] = $r['tax_percent'];
52
        $GLOBALS["steuern"][$r->country_id][$r->taxes_id] = $r->tax_percent;
53
        $GLOBALS["steuern"][$r['countries_id']][null] = $GLOBALS["steuern"][$r['countries_id']][0];
53
        $GLOBALS["steuern"][$r->country_id][null] = $GLOBALS["steuern"][$r->country_id][0];
54
    }
54
    }
55
    if ( !isset( $_SESSION["SHOP"]["BASKET"] ) )
55
    if ( !isset( $_SESSION["SHOP"]["BASKET"] ) )
56
    {
56
    {
57
        $_SESSION["SHOP"]["BASKET"] = new Basket();
57
        $_SESSION["SHOP"]["BASKET"] = new Basket();
58
    }
58
    }