--- nf_registration_mod.module.original	2007-07-09 10:18:55.000000000 -0700
+++ nf_registration_mod.module	2007-07-09 10:21:30.000000000 -0700
@@ -1250,6 +1250,7 @@ function _nf_registration_mod_group_page
  * Returns an array of name:tie pairs.
  */
 function _nf_registration_mod_get_pageroute_pages() {
+  $pagepages = array();
   $sql = "SELECT prid, name, options FROM {pageroute_pages}  ORDER BY weight, name";
   $results = db_query($sql);
   while ($result = db_fetch_object($results)) {
@@ -1271,6 +1272,7 @@ function _nf_registration_mod_get_acc_ty
  * Returns an array of pageroute id/path pairs.
  */
 function _nf_registration_mod_get_pageroutes() {
+  $pageroutes = array();
   $sql = "SELECT prid, path FROM {pageroute_routes} ORDER BY path";
   $results = db_query($sql);
   while ($result = db_fetch_object($results)) {
