*** imgupload.module    2010-03-17 11:50:07.000000000 +0100
--- imgupload.module    2010-03-17 11:50:26.000000000 +0100
***************
*** 155,161 ****
   */
  function _imgupload_create_gallery_form($previous,$form_data) {
      $galleries =
!         db_query("SELECT * FROM {term_data} td,vocabulary v where v.module='image_gallery' and v.vid=td.vid order by td.tid DESC");

      $opts = array ();
      $tids = array ();
--- 155,161 ----
   */
  function _imgupload_create_gallery_form($previous,$form_data) {
      $galleries =
!         db_query("SELECT * FROM {term_data} td,{vocabulary} v where v.module='image_gallery' and v.vid=td.vid order by td.tid DESC");

      $opts = array ();
      $tids = array ();
