Commit ed042b9a8c2de3c5770bb065ca26fb73d5de089b

Authored by Adhidarma Hadiwinoto
1 parent 888bed490e
Exists in master

debug

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

sinkronisasi.include.php
... ... @@ -120,6 +120,8 @@ function sinkronisasi_taxonomy_term_normalization($term) {
120 120 function sinkronisasi_fix_vid($term) {
121 121 $vocabulary = taxonomy_vocabulary_machine_name_load($term->vocabulary_machine_name);
122 122 if (!$vocabulary) {
  123 + var_dump($term);
  124 + echo "\n";
123 125 drush_die("CD231A vocabulary not found!");
124 126 }
125 127  
sinkronisasi_import.php
... ... @@ -14,7 +14,6 @@ if (function_exists('drush_main')) {
14 14  
15 15 echo "Insert new data\n";
16 16 $terms = unserialize($data);
17   -
18 17 sinkronisasi_import_iterate_insert($terms);
19 18  
20 19 echo "Update data\n";