Commit d78badcc authored by Dries's avatar Dries

- Patch #109104 by Zen: ambiguous column reference with PostgreSQL.

parent d7908276
......@@ -373,7 +373,7 @@ function theme_block_admin_display($form) {
}
function block_box_get($bid) {
return db_fetch_array(db_query("SELECT bx.*, title FROM {boxes} bx INNER JOIN {blocks} bl ON bx.bid = bl.delta WHERE module = 'block' AND bid = %d", $bid));
return db_fetch_array(db_query("SELECT bx.*, bl.title FROM {boxes} bx INNER JOIN {blocks} bl ON bx.bid = bl.delta WHERE bl.module = 'block' AND bx.bid = %d", $bid));
}
/**
......
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