Commit c9c94761 authored by Dries's avatar Dries
Browse files

- Added missing {}.

parent f33f9a5f
......@@ -113,7 +113,7 @@ function forum_admin() {
*/
function forum_taxonomy($op, $type, $object) {
if ($op == 'delete' && $type == 'term' && $object->vid == _forum_get_vid()) {
$results = db_query('SELECT f.nid FROM forum f WHERE f.tid = %d', $object->tid);
$results = db_query('SELECT f.nid FROM {forum} f WHERE f.tid = %d', $object->tid);
while ($node = db_fetch_object($results)) {
$edit['nid'] = $node->nid;
$edit['confirm'] = TRUE;
......
......@@ -113,7 +113,7 @@ function forum_admin() {
*/
function forum_taxonomy($op, $type, $object) {
if ($op == 'delete' && $type == 'term' && $object->vid == _forum_get_vid()) {
$results = db_query('SELECT f.nid FROM forum f WHERE f.tid = %d', $object->tid);
$results = db_query('SELECT f.nid FROM {forum} f WHERE f.tid = %d', $object->tid);
while ($node = db_fetch_object($results)) {
$edit['nid'] = $node->nid;
$edit['confirm'] = TRUE;
......
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