default to a session cookie instead of setting an explicit timeout, weird timezone...
[freeside.git] / bin / pg-readonly
old mode 100644 (file)
new mode 100755 (executable)
index 091174c..b5cde4d
@@ -47,7 +47,7 @@ Attributes
 sessions
 );
 
-foreach my $rt_table ( @rt_tables ) {
+foreach my $table ( @rt_tables ) {
   $dbh->do("GRANT SELECT ON $table TO $rouser");
   $dbh->commit();
   $dbh->do("GRANT SELECT ON ${table}_id_seq TO $rouser");