reverted node form columns du to scroll bug

http://studio.g-u-i.net/en/materio/node/1535
This commit is contained in:
Bachir Soussi Chiadmi
2016-11-05 19:22:53 +01:00
parent c70a4bed11
commit 7011e6c691
6 changed files with 17 additions and 33 deletions

View File

@@ -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();
}
/**