diff --git a/include/controllers/default/crunchbutton/api/user/orders.php b/include/controllers/default/crunchbutton/api/user/orders.php
index a0f79ebcd..c0b21df3f 100644
--- a/include/controllers/default/crunchbutton/api/user/orders.php
+++ b/include/controllers/default/crunchbutton/api/user/orders.php
@@ -5,10 +5,10 @@ class Controller_api_user_orders extends Crunchbutton_Controller_Rest {
switch ($this->method()) {
case 'get':
$orders = c::user()->orders('compact');
- if( $orders->count() > 0 ){
+ if ($orders->count() > 0) {
echo $orders->json();
} else {
- json_encode([]);
+ //echo json_encode([]);
}
break;
diff --git a/include/library/Crunchbutton/User.php b/include/library/Crunchbutton/User.php
index 49f07f776..8e6741d81 100644
--- a/include/library/Crunchbutton/User.php
+++ b/include/library/Crunchbutton/User.php
@@ -61,6 +61,7 @@ class Crunchbutton_User extends Cana_Table {
if (!$this->id_user) {
return new Order;
}
+
if (!isset($this->_orders)) {
if ($type == 'compact') {
$q = '
diff --git a/include/views/default/seven/frontend/location.phtml b/include/views/default/seven/frontend/location.phtml
index 927ed7160..23db8b594 100644
--- a/include/views/default/seven/frontend/location.phtml
+++ b/include/views/default/seven/frontend/location.phtml
@@ -45,7 +45,7 @@
We listen to our users
Let us know
and we will add it!
- What's your favorite?
+ What's your
favorite?
We check this
stuff daily!
diff --git a/include/views/default/seven/layout/html.body.phtml b/include/views/default/seven/layout/html.body.phtml
index 34722b7e5..e9d5273cf 100644
--- a/include/views/default/seven/layout/html.body.phtml
+++ b/include/views/default/seven/layout/html.body.phtml
@@ -12,7 +12,7 @@
-
+
-
+