Commit 0d59df60 authored by Andrey T's avatar Andrey T Committed by Andrey Troeglazov
Browse files

Issue #2014643 by azinck, Proteo, andrey.troeglazov: "Invalid response from...

Issue #2014643 by azinck, Proteo, andrey.troeglazov: "Invalid response from server" when using SQL Server
parent 287e9411
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/hs_taxonomy.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -651,7 +651,7 @@ function hs_taxonomy_hierarchical_select_root_level($params) {
 * Implementation of hook_hierarchical_select_children().
 */
function hs_taxonomy_hierarchical_select_children($parent, $params) {
  if (isset($params['root_term']) && $params['root_term'] && $parent == 0) {
  if (( isset($params['root_term']) && $params['root_term'] && $parent == 0 ) || !is_numeric($parent) ) {
    return array();
  }