Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Avoid php notice on page redirect

givanz11f3b4aa378d
diff --git a/app/controller/base.php b/app/controller/base.php
index 9536f6f..68ceafb 100755
--- a/app/controller/base.php
+++ b/app/controller/base.php
@@ -258,7 +258,7 @@ class Base {
$url = $redirect;
}
- if ($this->session) {
+ if (isset($this->session)) {
$this->session->close();
}