Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Fix typo

givanzd4673cc5e77f
diff --git a/admin/controller/order/order.php b/admin/controller/order/order.php
index 36858fa..33de1e8 100755
--- a/admin/controller/order/order.php
+++ b/admin/controller/order/order.php
@@ -109,7 +109,7 @@ class Order extends Base {
}
$order = &$results['order'];
- $oder['user_url'] = \Vvveb\url(['module' => 'user/user', 'user_id' => $order['user_id']]);
+ $order['user_url'] = \Vvveb\url(['module' => 'user/user', 'user_id' => $order['user_id']]);
$order['total_formatted'] = $currency->format($order['total']);
$order['shipping_data'] = json_decode($order['shipping_data'] ?? '', true);
$order['payment_data'] = json_decode($order['payment_data'] ?? '', true);
diff --git a/install/template/common.tpl b/install/template/common.tpl
index 169216b..53fd590 100755
--- a/install/template/common.tpl
+++ b/install/template/common.tpl
@@ -6,7 +6,7 @@ input[type="text"]|value =
<?php
if (isset($_POST['@@__name__@@']))
echo htmlspecialchars($_POST['@@__name__@@']);
- else if (isset(htmlspecialchars($this->config['@@__name__@@'])))
+ else if (isset($this->config['@@__name__@@']))
echo htmlspecialchars($this->config['@@__name__@@']);
else echo '@@__value__@@';
?>
@@ -15,7 +15,7 @@ input[type="password"]|value =
<?php
if (isset($_POST['@@__name__@@']))
echo htmlspecialchars($_POST['@@__name__@@']);
- else if (isset(htmlspecialchars($this->config['@@__name__@@'])))
+ else if (isset($this->config['@@__name__@@']))
echo htmlspecialchars($this->config['@@__name__@@']);
else echo '@@__value__@@';
?>
@@ -25,7 +25,7 @@ input[type="email"]|value =
<?php
if (isset($_POST['@@__name__@@']))
echo htmlspecialchars($_POST['@@__name__@@']);
- else if (isset(htmlspecialchars($this->config['@@__name__@@'])))
+ else if (isset($this->config['@@__name__@@']))
echo htmlspecialchars($this->config['@@__name__@@']);
else echo '@@__value__@@';
?>
@@ -35,7 +35,7 @@ input[type="checkbox"]|value =
<?php
if (isset($_POST['@@__name__@@']))
echo htmlspecialchars($_POST['@@__name__@@']);
- else if (isset(htmlspecialchars($this->config['@@__name__@@'])))
+ else if (isset($this->config['@@__name__@@']))
echo htmlspecialchars($this->config['@@__name__@@']);
else echo '@@__value__@@';
?>