]> git.decadent.org.uk Git - maypole.git/commitdiff
Oops, FromCGI doesn't deal with select (and there's no reason why it
authorSimon Cozens <simon@simon-cozens.org>
Sat, 31 Jan 2004 15:02:38 +0000 (15:02 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Sat, 31 Jan 2004 15:02:38 +0000 (15:02 +0000)
should)

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@28 48953598-375a-da11-a14b-00016c27c3ee

lib/BeerDB.pm

index 7cb998f8b4a8153a54f41d3a620fa7a3b829ed49..e2c82720c0e0a69690b8ad8765936e4d971d7886 100644 (file)
@@ -13,13 +13,14 @@ BeerDB::Brewery->untaint_columns(
 );
 BeerDB::Beer->untaint_columns(
     printable => [qw/abv name price notes/],
+    integer => [qw/style brewery/],
     date =>[ qw/date/],
 );
 
 use Class::DBI::Loader::Relationship;
 BeerDB->config->{loader}->relationship($_) for (
     "a brewery produces beers",
-    "a beer has a style",
+    "a style defines beers",
     "a pub has beers on handpumps");
 
 1;