Commit f34e9d59 authored by drumm's avatar drumm

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

Backport from HEAD.
parent 4ae77a2e
......@@ -359,7 +359,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 = 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 = WHERE bl.module = 'block' AND = %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