Skip to content

Commit

Permalink
Merge pull request MPOS#2575 from MPOS/development
Browse files Browse the repository at this point in the history
UPDATE : Development to Master
  • Loading branch information
TheSerapher authored Jul 18, 2017
2 parents f7f0437 + 86ad302 commit e2a3536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/smarty_globals.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
$_SESSION['POPUP'][] = array('CONTENT' => 'You are using an old Theme that will not be maintained in the future.', 'TYPE' => 'alert alert-warning');

// Check we can load the theme at all
if ( !in_array($setting->getValue('website_theme'), $template->getThemes()))
if ( !in_array($setting->getValue('website_theme', 'bootstrap'), $template->getThemes()))
die('Unable to find your selected theme `' . $setting->getValue('website_theme') . '` in the list of available themes. Please reset your `website_theme` setting in your database.');

// So we can display additional info
Expand Down
2 changes: 1 addition & 1 deletion include/version.inc.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;

define('MPOS_VERSION', '1.0.6');
define('MPOS_VERSION', '1.0.7');
define('DB_VERSION', '1.0.2');
define('CONFIG_VERSION', '1.0.1');
define('HASH_VERSION', 1);
Expand Down

0 comments on commit e2a3536

Please sign in to comment.