diff --git a/www/pages/cart.php b/www/pages/cart.php index 3a6112838..7d5958510 100644 --- a/www/pages/cart.php +++ b/www/pages/cart.php @@ -14,7 +14,7 @@ if (isset($_GET["add"])) { } foreach ($data as $d) { - $users->addCart($page->users->currentUserId(), $d["id"]); + $page->users->addCart($page->users->currentUserId(), $d["id"]); } } elseif (isset($_REQUEST["delete"])) { if (isset($_GET['delete']) && !empty($_GET['delete'])) { @@ -24,7 +24,7 @@ if (isset($_GET["add"])) { } if (isset($ids)) { - $users->delCartByGuid($ids, $users->currentUserId()); + $page->users->delCartByGuid($ids, $page->users->currentUserId()); } if (!isset($_POST['delete'])) { diff --git a/www/templates/nntmux/views/frontend/cart.tpl b/www/templates/nntmux/views/frontend/cart.tpl index 2fbad4153..0e3c5571f 100644 --- a/www/templates/nntmux/views/frontend/cart.tpl +++ b/www/templates/nntmux/views/frontend/cart.tpl @@ -2,44 +2,40 @@
-Your cart can be downloaded as an Rss Feed. + Your cart can be downloaded as an Rss Feed.
{if $results|@count > 0} - {else} -