diff --git a/uc_stock/uc_stock.admin.inc b/uc_stock/uc_stock.admin.inc
index 23285e5..df69fcd 100644
--- a/uc_stock/uc_stock.admin.inc
+++ b/uc_stock/uc_stock.admin.inc
@@ -309,6 +309,7 @@ function theme_uc_stock_edit_form($variables) {
     array('data' => t('Stock')),
     array('data' => t('Threshold')),
   );
+  $rows = array();
 
   foreach (element_children($form['stock']) as $id) {
     $rows[] = array(
