--- pivots_double.module	2007-11-24 14:34:52.000000000 -0700
+++ fix/pivots_double.module	2009-03-10 19:36:16.000000000 -0600
@@ -35,7 +35,7 @@ function pivots_double_args_form(&$algor
     '#maxlength' => 2,
     '#description' => t("The maximum number of items returned in the pivot block.")
   );
-  $pivot_result = db_query("SELECT pid, name FROM pivots WHERE alg_name<>'double' AND enabled=1");
+  $pivot_result = db_query("SELECT pid, name FROM {pivots} WHERE alg_name<>'double' AND enabled=1");
   $options = array();
   while ($p=db_fetch_object($pivot_result)) {
     $options[$p->pid] = check_plain($p->name);
