Commit 7cc8e476 authored by duozersk's avatar duozersk

Fixed [#2366263] - wrong block 'module' property.

parent cfb37653
......@@ -281,7 +281,7 @@ function _background_audio_block_info() {
// block_load() function doesn't do what we need.
//$block = block_load('background_audio', 'background_audio');
$block = db_query('SELECT * FROM {block} WHERE module = :module AND delta = :delta AND theme = :theme AND status = 1',
array(':module' => 'background_audio', ':delta' => 'background_audio', ':theme' => $theme_key))->fetchObject();
array(':module' => 'background_audio_block', ':delta' => 'background_audio', ':theme' => $theme_key))->fetchObject();
if (!$block) {
if ($debug) {
watchdog('background_audio_block', 'Background Audio Block is not enabled in theme !theme.', array('!theme' => $theme_key), WATCHDOG_DEBUG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment