Fix. Use incorrect option name.

This commit is contained in:
Alexey Melnichuk
2015-11-30 16:04:13 +03:00
parent 6fa7dcfa30
commit b944a4dca7

View File

@@ -1434,7 +1434,7 @@ if (strlen($_SESSION['message']) > 0) {
<?php
// check for background image
if (isset($_SESSION['theme']['enable_background_images']['boolean']) and $_SESSION['theme']['enable_background_images']['boolean'] == 'true') {
if (isset($_SESSION['theme']['background_image_enabled']['boolean']) and $_SESSION['theme']['background_image_enabled']['boolean'] == 'true') {
// background image is enabled
$image_extensions = array('jpg','jpeg','png','gif');