? .svn
? tests/.svn
? tw_import/.svn
? tw_import/tests/.svn
Index: tw_pages.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tw/tw_pages.inc,v
retrieving revision 1.1.2.32
diff -u -p -r1.1.2.32 tw_pages.inc
--- tw_pages.inc	3 May 2009 15:13:10 -0000	1.1.2.32
+++ tw_pages.inc	14 May 2009 12:55:27 -0000
@@ -105,7 +105,7 @@ function tw_sources_form($form_state) {
       $rowcount = t('N/A');
     } 
     else {
-      $sql = 'SELECT COUNT(*) FROM {' . $row->tablename . '}';
+      $sql = 'SELECT COUNT(*) FROM ' . tw_quote_identifier('{' . $row->tablename . '}');
       $rowcount = db_result(db_query($sql));
     }
     $form['rowcount'][$row->twtid] = array('#value' => $rowcount);
