Project:Taxonomy Super Select (TSS)
Version:5.x-1.5-1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The taxonomy_super_select_uninstall() function uses db_result, which in D5 resets the database counter on each call, thus creating an infinite loop. A better way would be the following:

<?php
 
while ($vocab = db_fetch_object($result)) {
   
variable_del('taxonomy_super_select_vid_'. $vocab->vid);
  }
?>

Comments

#1

Status:active» needs review

Here's a quick patch that changes the uninstall code to the code listed above.

AttachmentSize
taxonomy_super_select-n626596.patch 2.17 KB

#2

Status:needs review» fixed

Thanks. Exceptionally committed this into 5.x branch!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here