Skip to content
Snippets Groups Projects
Commit 547fa894 authored by Andrey Postnikov's avatar Andrey Postnikov Committed by Tim Plunkett
Browse files

Issue #1621236 by andypost: Follow up to check on db_table_exists().

parent 074fdac8
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ function update_block_bid($name, $old_delta, $delta) {
}
// Maybe people don't have block module installed, so let's skip this.
if (module_exists('block')) {
if (db_table_exists('block')) {
db_update('block')
->fields(array('delta' => $delta))
->condition('delta', $old_delta)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment