reverted node form columns du to scroll bug
http://studio.g-u-i.net/en/materio/node/1535
This commit is contained in:
@@ -19,7 +19,7 @@ function nfcbiblio_nodeformcols_variants_alter(&$variants, $type) {
|
||||
WHERE tid >= :tid
|
||||
AND visible = :visible
|
||||
ORDER BY weight ASC', array(':tid' => 0, ':visible' => 1));
|
||||
while ($option = $res->fetchObject()) {
|
||||
while ($option = db_fetch_object($res)) {
|
||||
$variants[$option->tid] = $option->name;
|
||||
}
|
||||
}
|
||||
@@ -35,8 +35,8 @@ function _nfcbiblio_top_visible_type() {
|
||||
return db_query_range("SELECT tid
|
||||
FROM {biblio_types}
|
||||
WHERE visible = :visible
|
||||
AND tid >= :tid
|
||||
ORDER BY weight ASC", 0, 1, array(':visible' => 1, ':tid' => 0))->fetchField();
|
||||
AND tid> = :tid>
|
||||
ORDER BY weight ASC", array(':visible' => 1, ':tid>' => 0))->fetchField();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user