After digging around in xmlhttp.php i have made following edit (same code is used in global.php - beta 3)
xmlhttp.php line 79 - 89
from
to
xmlhttp.php line 79 - 89
from
// Load basic theme information that we could be needing.
if($loadstyle == "def='1'")
{
if(!$cache->read('default_theme'))
{
$cache->update_default_theme();
}
$theme = $cache->read('default_theme');
}
$theme = @array_merge($theme, my_unserialize($theme['properties']));
to
// Load basic theme information that we could be needing.
if($loadstyle == "def='1'")
{
if(!$cache->read('default_theme'))
{
$cache->update_default_theme();
}
$theme = $cache->read('default_theme');
}
else
{
$query = $db->simple_select('themes', 'name, tid, properties, stylesheets', $loadstyle, array('limit' => 1));
$theme = $db->fetch_array($query);
}
$theme = @array_merge($theme, unserialize($theme['properties']));