chiark / gitweb /
Better doc
[ypp-sc-tools.db-live.git] / yarrg / web / qtextstringcheck
index 0a75f8e9b6ae71be9f50117c542733c9ce71e787..539abce6a550d8387c0171b845ef20b50b0d651c 100755 (executable)
@@ -60,6 +60,7 @@ use Scalar::Util qw(blessed);
 
 die if $what =~ m/[^a-z]/;
 my $chk= $m->fetch_comp("check_${what}");
+die "check_$what" unless $chk;
 
 my $mydbh;
 $dbh ||= ($mydbh= dbw_connect($ocean));